Skip to content

Instantly share code, notes, and snippets.

@contee213
Created September 24, 2013 08:59
Show Gist options
  • Save contee213/6682157 to your computer and use it in GitHub Desktop.
Save contee213/6682157 to your computer and use it in GitHub Desktop.
rsyslogでログが途中で切れている場合に全部出したい時の設定
$MaxMessageSize <size> で指定する
#(sender)
$MaxMessageSize 8k
#(receiver)
$MaxMessageSize 8k
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog # provides kernel logging support (previously done by rklogd)
#$ModLoad immark # provides --MARK-- message capability
# provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
# provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment