Industrial Technology Research Institute IWCUOBU5 Manual De Usuario
Document Name:
IWCU User Guide
Version:4.10
工業技術研究院機密資料 禁止複製、轉載、外流 │ ITRI CONFIDENTIAL DOCUMENT DO NOT COPY OR DISTRIBUTE 10
2.2.3 System Log
Log levels
level 0 : Logging is turned off.
level 1:A more detailed trace that includes all the transmission errors is needed to debug
level 1:A more detailed trace that includes all the transmission errors is needed to debug
problems. These messages are system critical errors that should not happen normally.
This level is mainly used for debugging purposes.
This level is mainly used for debugging purposes.
level 2 : A most detailed trace that includes all forwarded messages of UDP packets and
WSMP packets is needed to debug the status of ethernet and wireless.
User can use log command to set and show the log level.
dsrc-log level [<level>] : set log level
<level> : 0 | 1 | 2
dsrc-log level: show the log level
For example:
[root@herakles /root]# dsrc-log level
0
[root@herakles /root]# dsrc-log level 2
[root@herakles /root]# dsrc-log level
2
Show logged message
dsrc-log msg [<line>]
<line>: Print last N lines instead of last 10.