Mini Sysklogd
Msysklogd is a small and simple syslog and kernel log daemon. It does not need any configuration file and does not write any files. It just writes all messages to standard out (descriptor 1) or to a remote host. I recommend to use it with a powerful logging service such as multilog from daemontools.
The idea and some code is from Olaf Dreesen's od_syslog. Since version 0.6 msysklogd needs libowfat. Even if it is possible to link msysklogd against the glibc I strongly recommend to use the dietlibc from Felix von Leitner.
[20051204] Uploaded msysklogd-0.6.2 (diff) with a minor fix to the makefile for libowfat.
[20040614] Uploaded msysklogd-0.6.1 (diff). Sic, found a fatal error in klogctl.c.
[20040526] Uploaded msysklogd-0.6 (diff). Added klogctl, a dmesg like program. Sysklogd doesn't write any more to stderr.
[20040209] Uploaded msysklogd-0.5. Added logwrite, a shell command interface to the sysklog. Makefile supports 'make strip'.
[20040124] Uploaded msysklogd-0.4. Added support for remote logging. Own messages are prefixed with 'sysklogd: ' (local).
[20040114] Uploaded msysklogd-0.3. Fixed the broken prefix in Makefile.
make make install
For supervise or minit create a user syslog with primary group syslog
(or nogroup) and create <path>/sysklogd/run:
#!/bin/sh exec 2>&1 exec /usr/sbin/sysklogd -c 1 -k /var/log/boot.msg -m 30
Create <path>/sysklogd/log/run:
#!/bin/sh exec setuidgid syslog multilog t '-*' '+kern:*' /var/log/klog '+*' '-kern:*' /var/log/syslog
Current version is msysklogd-0.6.2.tar.bz2.
MD5SUM 3143c56537439513088daac09f23d5f0 msysklogd-0.6.2.tar.bz2
MD5SUM c04b29248875e8613bb1da8f616fec12 msysklogd-0.6.2.diff.bz2