U.S. Robotics SureConnect ADSL Ethernet/USB Router User Guide
1.15 logger
This command list is used to display logging messages.
1.15.1 log
log -o [module name/ log level]
This command is used to display the log messages based on module name, severity level, or log
messages based on severity level and module name.
< loglevel > Loglevel can be given as exception, error or info.
< module name > Module name can be ll, ip, tcp, udp, sockets ,rawip, icmp, arp, igmp, app, cdcli,
if, telnet, dns, snmp, http, ping, ftp, ftpd, tftp, bootp, dhcpc, dhcps, qosbw, ipsec, ike, nat, firewall,
diffserv, logger, queuing, ipoa, pppoa, ethoa, httpproxy, ftpproxy
Examples:
[root @ logger]$ log –o all
“Exception” level log messages and the error or info level log messages ( if enabled) will be logged
from all modules.
[root @ logger]$ log –o tcp error
“error” level log messages from tcp module will be logged.
1.15.2 logSeverity
logSeverity -o [error/info] [on/off ]
This command is used to set the specified loglevel as ON or OFF. By default, error
and info log level messages are off. There is no on/off option for exception log level messages.
The exception log messages are always displayed (on).
Examples:
[root @ logger]$ logSeverity –o error on
Sets the loglevel error on so that error level log messages are displayed.
[root @ logger]$ log –o info off
file:///P|/T_WRITER/Documentation/Released/9003%20(Guinness)/User%20Guide/9003%20(Guiness)%20prac%20template/cli.htm (32 of 71) [11/6/2002 8:58:45 AM]