[vlc-devel] File logging versus message redirecting

Kaarlo Räihä kaarlo.raiha at gmail.com
Tue Feb 21 10:51:58 CET 2012


21. helmikuuta 2012 11.07 Peter Tap <ptrtap at yahoo.com> kirjoitti:

> Thanks Kaarlo.
>
> I couldn't find any documentation on "log-verbose" option. Is this an
> undocumented feature?
>

It is in VLC help.
--log-verbose=<integer [-2147483648 .. 2147483647]>VerbositySelect the
verbosity to use for log or -1 to use the same verbositygiven by --verbose.

(maybe someone should patch the range?)


>
> Regards,
> Peter
>
>   ------------------------------
> *From:* Kaarlo Räihä <kaarlo.raiha at gmail.com>
> *To:* Mailing list for VLC media player developers <vlc-devel at videolan.org>
>
> *Sent:* Saturday, February 18, 2012 1:08 AM
>
> *Subject:* Re: [vlc-devel] File logging versus message redirecting
>
> 18. helmikuuta 2012 9.42 Peter Tap <ptrtap at yahoo.com> kirjoitti:
>
> Hi Kaarlo,
>
> Thank you for your  help.
>
> The online documentation at
> http://www.videolan.org/doc/play-howto/en/ch04.html mentions that there
> is also a level 3.
>
> However, I first tried it with level 2 and it was the same problem.
>
> I also am a bit confused about the syntax. Is the right syntax "--verbose
> n" or "--verbose=n?"
>
>
> Both will work. There is also --log-verbose option.
>
>
>
> Thanks
> Peter
>
>   ------------------------------
> *From:* Kaarlo Räihä <kaarlo.raiha at gmail.com>
> *To:* Mailing list for VLC media player developers <vlc-devel at videolan.org>
>
> *Sent:* Friday, February 17, 2012 11:26 PM
> *Subject:* Re: [vlc-devel] File logging versus message redirecting
>
> 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
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
>
> _______________________________________________
> 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/20120221/f6c6ba29/attachment.html>


More information about the vlc-devel mailing list