Re: can't seem to get syslog working
- From: munky <mk@xxxxxx>
- Date: Fri, 31 Aug 2007 17:49:54 GMT
Hi Martin,
Thanks for the reply - I've got a bit further now but I'm still a bit bemused.
Basically if I use syslogd as automatically started up by my EL4 system I get nothing logged at all, however if I kill off syslogd and manually restart it then logging works fine (so my program and syslog.conf are fine!).
I had wondered (however unlikely!) if it was something to do with the -m 0 option (which is set in my /etc/sysconfig/syslog) but manually starting syslogd works whether I've added this option or not.
When I got logging working by manually launching syslogd the logging will also stop if I then try and restart syslogd with "/sbin/service syslog restart" so it definitely seems to be something to do with the startup mechanism on my system. Unfortunately I don't actually know how syslogd is launched on EL4 - if I do a find in /etc the only references are in syslog.conf and /etc/sysconfig/syslog.
Regards
Martin Blume wrote:
"munky" schrieb.[program's syslog entries do not appear]hmm, looks ok to me (after a cursory reading).
Do entries generated with "logger" turn up?
You said that /var/log/mesages is "resolutely empty".
Does that mean that /var/log/messages is completely empty or that
only your program's output fails to show up?
Regards
Martin
- Follow-Ups:
- Re: can't seem to get syslog working
- From: Martin Blume
- Re: can't seem to get syslog working
- References:
- can't seem to get syslog working
- From: munky
- Re: can't seem to get syslog working
- From: Martin Blume
- can't seem to get syslog working
- Prev by Date: Re: Where the F**K do I begin?
- Next by Date: Re: Where the F**K do I begin?
- Previous by thread: Re: can't seem to get syslog working
- Next by thread: Re: can't seem to get syslog working
- Index(es):
Relevant Pages
|