Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Request: logging to seperate file
Juergen Schmidt wrote:
>
> Hi,
>
> I was trying to clean my log files from the VDR stuff. The default log
> level writes quite a lot of stuff (which is usefull in some cases, so I do
> not want to decrease logging).
>
> Looking into the source code, I found, that vdr.c calls
>
> openlog("vdr", LOG_PID | LOG_CONS, LOG_USER);
>
> i.e. the facility LOG_USER is hard coded. Is it possible to make this
> configurable, so that I can redirect it to LOG_LOCAL7 and have syslog
> write a separate log file for VDR messages?
>
> I think this would be a useful feature to have ...
Would it be ok if I changed the '-l' option in a way that, for instance,
vdr -l 3.7
would set log level 3 and logging to LOG_LOCAL7? Default would still be
vdr -l 3
which means log level 3 and LOG_USER. The number after the '.' could be
0..7, resulting in LOG_LOCAL0..LOG_LOCAL7.
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index