Command Reference Syslog Commands
Global configuration mode
This command is used to print the log message to remind the administrator of user login. The log
message is in the format as follows:
Mar 22 14:05:45 %LOGIN-5-LOGIN_SUCCESS: User login from vty0 (192.168.23.68)
OK.
The following example enables the logging function to record user log/exit.
Ruijie(config)# logging user-info
8.34 logging userinfo command-log
Use this command to enable the logging function to record user operation. Use the no form of this
command to restore the default setting.
logging userinfo command-log
no logging userinfo command-log
No log message is printed recording user operation by default.
Global configuration mode
This command is used to print the log message to remind the administrator of configuration change.
The log message is in the format as follows:
Mar 22 14:10:40 %CLI-5-EXEC_CMD: Configured from vty0 (192.168.23.68)
command-log: logging server 192.168.23.68.
The following example enables the logging function to record user operation.
Ruijie(config)# logging user-info command-log