[vlc-devel] File logging versus message redirecting

Kaarlo Räihä kaarlo.raiha at gmail.com
Sat Feb 18 08:26:57 CET 2012


18. helmikuuta 2012 5.02 Peter Tap <ptrtap at yahoo.com> kirjoitti:

>
> Folks,
>
>  Environment: Ubuntu 11.10
>
> There are two different ways I can create a batch command to log messages
> from VLC:
>
> Method 1:
>
>       vlc --file-logging --logfile=Logs/vlc.log --verbose 3
>
> Method 2:
>      vlc --verbose 3 2>Logs/vlc.log
>
> In the second case, I am just redirecting stderr to the log file.
>
> Method 2 seems to capture more messages. For example, I am using remote
> control interface in vlc and I see more information from "oldrc" that I
> don't see in method 1. Here is an example:
>    [0x16859d8] oldrc interface debug: base: localhost, port: 4000
>
> Although the verbosity level is the same in both cases, why does vlc
> behave differently?
>

According to the command-line help, there isn't --verbose 3
"-v, --verbose=<integer>        Verbosity (0,1,2)
          This is the verbosity level (0=only errors and standard messages,
          1=warnings, 2=debug)."


>
> Is there any additional flag I can supply in method 1 to achieve the same
> level of message logging?
>
> Thank you in advance for your help.
>
> Regards,
> Peter
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120218/e88ccc37/attachment.html>


More information about the vlc-devel mailing list