syslogd logging
Hi, I'm trying to get system logging to work the way we'd like it to work for our embedded Linux distribution. I'm hoping to make it log to the buffer and to the filesystem simultaneously, allowing our customers to use logread or look through /var/log/, at their option, without changing any configuration settings. I can't seem to get Busybox to log to both simultaneously. Can this be configured somehow? Additionally, I'd like to also be able to configure syslogd to log to a remote syslog server without losing this local logging and buffering. Is this possible? Thank you, Mike Dean System Engineer md...@emacinc.com EMAC, Inc. 618-529-4525 Ext. 330 618-457-0110 Fax 2390 EMAC Way Carbondale, Il 62901 http://www.emacinc.com/ ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
syslogd - logging locally and remotely based on log-level
Hello! I have a quick question about syslogd. Is there any way to run two instances of syslogd covering range of log levels (not overlapping)? I'm specifically asking about option -l BusyBox v1.21.1 (2014-11-19 20:10:45 CET) multi-call binary. Usage: syslogd [OPTIONS] System logging utility (this version of syslogd ignores /etc/syslog.conf) -n Run in foreground -O FILE Log to FILE (default:/var/log/messages) -l NLog only messages more urgent than prio N (1-8) -S Smaller output -s SIZE Max size (KB) before rotation (default:200KB, 0=off) -b NN rotated logs to keep (default:1, max=99, 0=purge) -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP) -L Log locally and via network (default is network only if -R) What I would like to achieve is: having a syslogd instance1 that logs locally let's say 1-4 and syslogd instance2 that logs 5-8 remotely. Thus a message e.g. level 6 is not logged under instance1 but instance2 only. This can be very helpful for debugging. Is this possible with the current busybox build? If not can it be considered an improvement for the next release? Many thanks! ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox