Logging

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

 



Udo Richter wrote:
> Lauri Tischler wrote:
> 
>>Marco G?benich wrote:
>>
>>>insert this into your /etc/syslog.conf:
>>>local6.*                            /var/log/vdr.log
>>>
>>
>>Yes, this now logs stuff to vdr.log, but some vdr-messages
>>still end up in syslog, debug and messages logfiles.
> 
> 
> You have to tell syslog not to add these messages to the other log
> files. The format of the syslog.conf is well documented, see man
> syslog.conf.
> 
> For a hint: This line writes /var/log/syslog for me:
> 
>   *.*;auth,authpriv.none          -/var/log/syslog
> 
> This means: Log everything of all levels (*.*), but for auth and
> authpriv, log level none.
> 
> This would also ignore all local6 messages:
> 
>   *.*;auth,authpriv.none;local6.none    -/var/log/syslog
> 
> You probably have to change some more lines that match *. in a similar way.

Yes, that did it, Thanks.


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux