[Lxc-users] note on using rsyslog in a container

Mike debian at good-with-numbers.com
Tue Jan 11 02:54:01 UTC 2011


This has sort of been mentioned earlier on this list.

I noticed netfilter messages getting trashed in the various 
/var/log/messages on a system with two containers, netfilter rules on 
the host, and each container and the host running rsyslog.  On closer 
inspection, I realized that only every other character or so of the 
message was appearing in a given log file.  Disabling kernel logging in 
the containers, by commenting out "$ModLoad imklog" in 
/etc/rsyslog.conf, straightened out the log files.




More information about the lxc-users mailing list