[vlc-devel] File logging versus message redirecting

Peter Tap ptrtap at yahoo.com
Sat Feb 18 04:02:29 CET 2012



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?


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120217/e38c7e7a/attachment.html>


More information about the vlc-devel mailing list