Re: disabling PPP messages from syslog
On Don, 29 Apr 2004 at 17:40 GMT, Karel Kozlik <kozlik@kufr.cz> wrote:
> Hello,
> thanks for reply.
>
>> Why do you want to disable them? There is no pppd option for doing so,
>
> there are two main reasons why I want disable them.
>
> - this messages are bootless for me and /var/log/messages is confused
> - in the router on which pppd is running is very small hdd and these
> logs often filling up all avaiable space.
>
Perhaps this helps, although it could be overcomplicated for this
purpose:
Store your Logs on another machine in the Network. AFAIK syslog
provides this. The manpage of syslog.conf denotes this as remote
logging.
Write a skript rotating logs an storing the old logs on another
machine. This is a similar approach.
You do not have a problem with pppd, but with disk space, so I would
prefer one of these two solutions.
>> any messages from being sent by syslogd from the local2 facility or
>> with the warn log level by editing /etc/syslog.conf, which would mean
>> no messages from anything else using local2 or warn would be
>> logged.
This could affect other daemons, which is probably not desired.
>
> This is the last way how to resolve my problem. I don't want disable
> messages from anything else. Is there anyone who have better idea how to
> disable ppp logs?
>
I don't think, that this is the last way. You are working on symptoms
not on the root of the problem, I think.
> Karel
>
--
Robert...
|