[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Logging practices (and why does it suck in Debian?)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Speaking of problems with console-log, has anyone else had trouble with it 
when syslog restarts (e.g. when logs are rotated)? I found that after a 
syslog restart, no new messages would appear in the less concerned. Adding 
the following line to /etc/init.d/sysklogd just before the exit 0 at the end
seems to have fixed it:

/etc/init.d/console-log $1 >/dev/null 2>&1

- -- 
Chris Boyle - Winchester College - http://archives.wincoll.ac.uk/
For my PGP key visit: http://archives.wincoll.ac.uk/finger.php?q=chrisb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE63gNXD834tscfhTwRAmCWAJ0V162wrwRCaz4LoT2l+M88SSPjhgCdHzQk
6ay1JcdoT156inNNtPRTOnY=
=v0mG
-----END PGP SIGNATURE-----



Reply to: