|
楼主 |
发表于 2017-4-9 08:23:03
|
显示全部楼层
本帖最后由 hack288 于 2017-4-21 09:48 编辑
7 V1 n' ?: m @. A; y; ^
6 z2 D, p x5 b2 \更新下,清空日志最好的办法在shell里进行,干净彻底:2 ^! P: u" M6 t" B8 b# v# ~
具体:
1 {/ }& G. t" f. z9 h1 e( V+ J6 I/ c; n! n' [& j f+ m
Welcome Visiting Huawei Home Gateway
0 A z$ r. M" o, C ?Copyright by Huawei Technologies Co., Ltd.
9 m( @- b% Z6 r" N- N! Q
$ w7 @: ^7 E ]+ i5 s1 d: e) h8 F: SLogin:root
& [8 ^) x: f0 pPassword:
8 E7 Q% B% q$ S- ]$ j h/ h' fPassword is default value, please modify it!, S' h6 Q, `. {: c% u6 ?
WAP>su2 O9 g1 h) T" ?% A/ _
success!
, g! w# q# c4 G! P) aSU_WAP>shell/ F u7 R. m. Z
7 n+ |: M, T; O( e! tBusyBox v1.18.4 (2016-04-17 22:20:48 CST) built-in shell (ash)
6 C; q/ w% }; }Enter 'help' for a list of built-in commands.
% A6 `" \3 B8 F6 @' V" M
! n7 J' V& z$ l; A0 tprofile close core dump3 Q. n) ]3 O$ Y: }8 E5 _* A
WAP(Dopra Linux) # cd /mnt/jffs2/( B- i# \* G' _. B2 {) E( |& i* K: e, d
WAP(Dopra Linux) #4 y4 H+ P( g% O8 R( o# L
WAP(Dopra Linux) # ls u+ |4 b9 G" b+ q
CfgwithoutlineD ftvoipcfgstate mount_osgi_ok2 S2 A& t+ l, b" C' Y$ C
DLNA_PATH hard_version oldcrc
' n0 }- g/ j. nFTCRC hw_boardinfo ontstatusfile
: p) ]" y$ S( D. z$ y" I/ O iProductLineMode hw_boardinfo.bak optic_init_par.bin! o# {0 L( ]$ a2 q( g9 g
TelnetEnable hw_bootcfg.xml optic_par_debug g& v) `6 d: Y% J6 K" g
USBCfgFlag hw_ctree.xml panicinfo
" [' ~& R- Z3 y' H2 `Updateflag_bak hw_ctree_bak.xml reboot_info" a( A, D1 @" g* e% @1 R
app hw_hardinfo_feature resetkey
! `. G' T1 n5 T9 Sceaseadv.conf hwontdebuglogctrl.bin roguestatus! |5 N3 c9 M0 A, M
cfmflag hwontdebuglogdata.bin rootfs_upgrade
) R9 p5 U' Z) j& `/ P2 Kchip_threshold hwontlog.bin save_upgrade_status3 N9 h: ]) P8 S
dhcpc main_version scflie_0
: ?. Q8 x. Q& m5 B1 Femergencystatus module_desc.xml scflie_1
- w6 v- K8 R$ P# _equipment module_desc_bak.xml xmlcfgerrorcode" z. ]: o3 G, e5 u$ c4 B
fsok mount_ok xpon_mode5 ^' [3 g# q9 j' h
WAP(Dopra Linux) #6 _9 d5 @/ @8 J2 g) K
WAP(Dopra Linux) # cat /dev/null > hwontdebuglogctrl.bin% e- q+ v( P$ e
WAP(Dopra Linux) #
_; `" q% e; |/ f" P( KWAP(Dopra Linux) # cat /dev/null > hwontdebuglogdata.bin
0 z! U( p: o9 Z bWAP(Dopra Linux) #
4 H3 v; d2 O4 c8 r) ^WAP(Dopra Linux) # cat /dev/null > hwontlog.bin. V- g: K$ {" C) ]0 c9 A% m6 z/ w
WAP(Dopra Linux) # T, F+ }: v8 ? S: P
WAP(Dopra Linux) #; G' B& t- W" ^! W. {! {
然后重启,日志完全消失了!最后记得把使能日志--->保存日志那个勾去掉就不会产生日志了
8 g6 F, J/ r) @4 E$ s8 e' A |
|