[vlc-devel] [PATCH] logger: Add --syslog-ident parameter.

Georgi Chorbadzhiyski gf at unixsol.org
Wed Mar 6 16:02:34 CET 2013


Around 03/06/2013 04:39 PM, Rémi Denis-Courmont scribbled:
> On Wed,  6 Mar 2013 15:10:22 +0200, Georgi Chorbadzhiyski <gf at unixsol.org>
> wrote:
>> By default VLC uses "vlc" as syslog ident but in case more than one
>> VLC is logging this may not be enough.
> 
> Even if there are more than one concurrent VLC process, each of them has a
> contemporarily unique process identifier. That is why the LOG_PID flag is
> set. The issue you describe does not exist.

I runs tens of VLC instances each transcoding single channel and logs go to
another machine via syslog. Without ident how can I make the connection between
the pid and the channel name and each log in different file? Sure, I can make
syslog-ng name files based on the pid but that would not be very friendly.

Pretty much every program that offers syslog support allows setting of the
ident.

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/



More information about the vlc-devel mailing list