Re: complex syslog facility daemon

1998-09-21 Thread Juergen Nagler
> Yes, Juergen, using LOCAL? facilities is exactly what you want. > Unfortunately, the > facility used by services is, in general, compiled in. There's no "standard" > way to > split daemon.log though you could certainly write a perl script to do it. In > general > since the format is ' ' writi

Re: complex syslog facility daemon

1998-09-21 Thread Jens B. Jorgensen
Yes, Juergen, using LOCAL? facilities is exactly what you want. Unfortunately, the facility used by services is, in general, compiled in. There's no "standard" way to split daemon.log though you could certainly write a perl script to do it. In general since the format is ' ' writing such a scri

Re: complex syslog facility daemon

1998-09-21 Thread Juergen Nagler
>Is there any reason that you can not look in dhcp.log or whatever rather >than daemon.log? Out of the man page of my dhcpd: To have dhcpd log to the standard error descriptor, specĀ­ ify the -d flag. This can be useful for debugging, and also at sites where a complete

Re: complex syslog facility daemon

1998-09-21 Thread Shaleh
Juergen Nagler wrote: > Ok, more descriptive: All programs have a log, that's not the problem. > The problem is, they all use the same log file. All daemons (dhcpd, > sshd, in.telnetd, in.xntpdm, cfingerd, in.qpopper) for example use > /var/log/daemon.log because of the line > > "daemon.* /v

Re: complex syslog facility daemon

1998-09-21 Thread Juergen Nagler
Thanks for the answer anyway! > Juergen, syslogd.conf in /etc lets you tell each item where it gets > logged. This way you can have an nfs log, mail log, ftp log, etc. Read > the man page for this and look at the example. Should be helpful. If > this not what you wanted please repost with a mo

Re: complex syslog facility daemon

1998-09-21 Thread Shaleh
Juergen, syslogd.conf in /etc lets you tell each item where it gets logged. This way you can have an nfs log, mail log, ftp log, etc. Read the man page for this and look at the example. Should be helpful. If this not what you wanted please repost with a more descriptive explanation. Hope this

complex syslog facility daemon

1998-09-20 Thread Juergen Nagler
Hi, we've got a lot services runnig and every is logging to daemon.log. It's a PC with Debian 2.0. Before we had a SUN Sparcstation running Redhat. Many of the services had to be newly compiled for the sparc architecture so we had the posibility to change the facilities to some LOCALs in the sourc