I'm setting up Rsyslog to handle logs from multiple machines with embedded Linux and have come across a problem. One of the main features of Rsyslog that I'm trying to use is the ability to have a separate log file for each source machine. It appears that the machines that use the Busybox syslogd break this feature in Rsyslog.
I've started with the example "rsyslog.conf" file from here:
http://wiki.rsyslog.com/index.php/Syskl ... _directory
Syslog messages received from Fedora boxes correctly go into a messages file in a subdirectory with the name of the source machine.
Syslog messages received from my embedded machines wind up in /var/log/messages.
I've looked at the packets coming in and only found one difference; the normal syslogd packets have a source and destination port of 514. The packets that come from the Busybox syslogd have a random source port and a destination port of 514.
It seems to me that if the difference in the source port number is really what's causing the messages to be logged incorrectly, then this is a bug in Rsyslog.
Does anyone see any other explanation? I'm running Rsyslog-3.19.9 (the latest not marked "devel" or "beta") on a CentOS 5.2 machine.
I was going to add a capture file showing the two packets, but phpBB wouldn't let me attach a file with either a ".pcap" or ".cap" extension, I'm tired, I gave up. It anyone thinks it'll help, I'll put it somewhere else.
Thanks,
Brad


