[vlc-devel] [Patch] add PID to syslog and verbosity control to html/text/syslog logging, (mail #4)
Rafaël Carré
funman at videolan.org
Wed Mar 12 13:40:52 CET 2008
On Wed, 2008-03-12 at 12:30 +0100, Hans Lambermont wrote:
> (silly groupwise mail attempt #4, sorry)
>
> Patch (diff -uw) against vlc-0.8.6d, file modules/misc/logger.c
> - add PID to syslog and use lowercase vlc (conforming to syslog standards)
> - add the command-line verbosity control -v[0-2] to html/text/syslog
> logging, such that one can disable f.i. LOG_DEBUG from being offered
> to html/text/syslog completely.
> - add the priority to the syslog message (feel free to remove this part ;-)
patch looks ok:
- you don't need to store verbosity, it can be retrieved at any time
from any vlc object (->p_libvlc->i_verbose)
- I wonder how LOG_NDELAY is useful ?
- I reworked a bit the priority message to look like the messages
displayed in console (and i felt free to keep it :) )
I just merged it in my tree but accidentally deleted it, I'll redo it in
the evening.
Thanks
> regards,
> Hans Lambermont
--
Rafaël Carré <funman at videolan.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080312/0dd18e10/attachment.sig>
More information about the vlc-devel
mailing list