[vlc-devel] [RFC] logger: add a --syslog-facility option

Rémi Denis-Courmont remi at remlab.net
Tue May 26 17:11:44 CEST 2009

Le mardi 26 mai 2009 12:59:17 Pierre Ynard, vous avez écrit :
> This is aimed at people using VLC in production environment and wanting
> to log their VLC logs separately from the common daemon.log.
> This is my first attempt at adding an option and... user interaction,
> so:
>  - Should we add this option?
>  - Should we restrict the log facilities available? (I only put daemon
>    and the local ones here)
>  - What syntax should we use, is "daemon", "local0" ... fine?

"user" is missing. The other ones are not for VLC to use.

It would be simpler to use an integers list with string descriptions... but it 
wouldn't quite work from the command line, so you should use a static const 
table and a loop as JPD suggested.

Rémi Denis-Courmont

More information about the vlc-devel mailing list