/etc/syslog.conf

$ cat /etc/syslog.conf
kern.*                                                  /dev/console
  
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none                /var/log/messages
  
# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure
  
# Log all the mail messages in one place.
mail.*                                                  -/var/log/maillog
  
# Log cron stuff
cron.*                                                  /var/log/cron
  
# Everybody gets emergency messages
*.emerg                                                 *
  
## 모든 로그를 my_collect_host.com 라는 호스트로 전송함
*.*                                                     @my_collect_host.com