|
|
楼主 |
发表于 2017-4-9 08:23:03
|
显示全部楼层
本帖最后由 hack288 于 2017-4-21 09:48 编辑
更新下,清空日志最好的办法在shell里进行,干净彻底:
具体:
Welcome Visiting Huawei Home Gateway
Copyright by Huawei Technologies Co., Ltd.
Login:root
Password:
Password is default value, please modify it!
WAP>su
success!
SU_WAP>shell
BusyBox v1.18.4 (2016-04-17 22:20:48 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
profile close core dump
WAP(Dopra Linux) # cd /mnt/jffs2/
WAP(Dopra Linux) #
WAP(Dopra Linux) # ls
CfgwithoutlineD ftvoipcfgstate mount_osgi_ok
DLNA_PATH hard_version oldcrc
FTCRC hw_boardinfo ontstatusfile
ProductLineMode hw_boardinfo.bak optic_init_par.bin
TelnetEnable hw_bootcfg.xml optic_par_debug
USBCfgFlag hw_ctree.xml panicinfo
Updateflag_bak hw_ctree_bak.xml reboot_info
app hw_hardinfo_feature resetkey
ceaseadv.conf hwontdebuglogctrl.bin roguestatus
cfmflag hwontdebuglogdata.bin rootfs_upgrade
chip_threshold hwontlog.bin save_upgrade_status
dhcpc main_version scflie_0
emergencystatus module_desc.xml scflie_1
equipment module_desc_bak.xml xmlcfgerrorcode
fsok mount_ok xpon_mode
WAP(Dopra Linux) #
WAP(Dopra Linux) # cat /dev/null > hwontdebuglogctrl.bin
WAP(Dopra Linux) #
WAP(Dopra Linux) # cat /dev/null > hwontdebuglogdata.bin
WAP(Dopra Linux) #
WAP(Dopra Linux) # cat /dev/null > hwontlog.bin
WAP(Dopra Linux) #
WAP(Dopra Linux) #
然后重启,日志完全消失了!最后记得把使能日志--->保存日志那个勾去掉就不会产生日志了
|
|