Syslog

From wikieduonline
Jump to navigation Jump to search
This article is a Draft. Help us to complete it. 


/etc/syslog.conf
/var/log/syslog
grep -Ei -B 1 -A 1 "crit|err[^u]|warn|fail[^2]|alert|unknown|unable|miss|except|disable|invalid|cannot|denied|broken|exceed|unsafe|unsolicited" \
   /var/log/syslog


systemd-journald

journald.conf Option: #ForwardToSyslog=yes


docker inspect <container_id|container_name> | grep -A 5 LogConfig
"LogConfig": {
  "Type": "syslog"
  "Config": {}
}
Cisco IOS: 
* Router(config)#logging host x.x.x.x
* show logging 


Related terms

See also

Advertising: