To enable the system to forward logs to a remote system or to configure the log level, use the logging command in Configuration mode. To disable this function, use the no form of this command.
logging {ip-address | hostname} {loglevel level}
No default behavior or values.
This command requires an IP address or hostname or the loglevel keyword; an error occurs if you enter two or more of these arguments.
/admin(config)# logging
209.165.200.225
/admin(config)# logging
loglevel 0