Alex Kost <[email protected]> skribis: > Hello, I noticed that my /var/log/messages (and other log files and > tty12) were not filled anymore. I found that the problem is in > "syslog.conf": when the "rule" lines begin with spaces, they are > ignored, so I'm attaching a patch to fix it.¹ > > The strange thing is it worked earlier (with the same config) and since > nobody noticed that before, I have a feeling that it might be the > problem on my computer. So I appreciate if someone confirms that the > problem really exists.
If definitely works on my machine. Could it be that your in-store syslog.conf has actually been altered or something? Does syslogd print an error message in the console when it starts? > Also I think it would be good to allow a user to specify his own > configuration file for syslogd (a patch is also attached²). WDYT? > From f66520181a65566b1f191583c3e1344c1af93ecc Mon Sep 17 00:00:00 2001 > From: Alex Kost <[email protected]> > Date: Sat, 28 Mar 2015 15:42:23 +0300 > Subject: [PATCH 2/2] services: syslog-service: Add 'config-file' argument. > > * gnu/services/base.scm (syslog-service): Add 'config-file' keyword > argument. > * doc/guix.texi (Base Services): Document it. Sure, please push! Thanks, Ludo’.
