Lines Matching refs:hilog
1 # hilog chapter
4 HiLog日志系统,提供给系统框架、服务、以及应用,用于打印日志,记录用户操作、系统运行状态等。开发者可以通过hilog命令行查询相关日志信息。
76 hilog -h
82 $ hilog -h
101 hilog -x
107 $ hilog -x
119 hilog -g
125 $ hilog -g
135 hilog -G size
140 $ hilog -G 16M
150 hilog -r
155 $ hilog -r
162 hilog -k on/off
167 $ hilog -k on
170 $ hilog -k off
177 hilog -s
182 $ param set persist.sys.hilog.stats true
183 Set parameter persist.sys.hilog.stats true success
185 $ hilog -s
213 hilog -S
219 $ hilog -S
226 hilog -Q pidon/pidoff
232 $ hilog -Q pidon
235 $ hilog -Q pidoff
242 hilog -Q domainon/domainoff
248 $ hilog -Q domainon
251 $ hilog -Q domainoff
258 hilog -L D/I/W/E/F
264 $ hilog -L E
277 hilog -t app
283 $ hilog -t app
294 hilog -D 01B06
300 $ hilog -D 01B06
311 hilog -T tag
317 $ hilog -T SAMGR
331 hilog -a 8
337 $ hilog -a 8
351 hilog -z 8
357 $ hilog -z 8
371 hilog -P pid
377 $ hilog -P 618
390 hilog -e start
396 $ hilog -e start
410 hilog -w control
415 > 查询当前任务: hilog -w query
417 > 开启hilog落盘任务,并且设置落盘文件数量为1000个: hilog -w start -n 1000
419 > 开启kmsglog落盘任务,并且设置落盘文件数量为100个: hilog -w start -n 100 -t kmsg
421 > 停止当前落盘任务: hilog -w stop
423 …方式可以为zlib,zstd,none。以设置规则为例:文件名为kmsglog,大小为2M,数量为100个, 其压缩方式为zlib压缩,命令行为: hilog -w start -t kmsg -…
428 $ hilog -w query
432 $ hilog -w start -n 1000
435 $ hilog -w start -n 100 -t kmsg
438 $ hilog -w stop
442 $ hilog -w start -t kmsg -f kmsglog -l 2M -n 100 -m zlib
449 hilog -v time/color/epoch/monotonic/usec/nsec/year/zone/wrap
455 $ hilog -v time
464 $ hilog -v nsec
476 hilog -b D/I/W/E/F
482 $ hilog -b E
489 hilog -p on/off
495 # hilog -p on
496 Set hilog privacy format on successfully
498 # hilog -p off
499 Set hilog privacy format off successfully