93

I am trying to run rtsp url from the VLC player. But an error appears, and "see logs for details" comes up in a dialog box.

How can I enable logs in VLC?

garima
  • 5,154
  • 11
  • 46
  • 77

2 Answers2

86

Or you can use the more obvious solution, right in the GUI: Tools -> Messages (set verbosity to 2)...

logain
  • 1,475
  • 1
  • 12
  • 18
  • 2
    I cannot see any such option in Mac using VLC 2.2.1 – Pravesh Jain Nov 26 '15 at 17:27
  • 4
    @PraveshJain It's there. Or just press ⌘+Shift+m (http://www.cheatography.com/shaunumb/cheat-sheets/vlc-windows-and-os-x/) – Jason C Jan 29 '16 at 18:30
  • 3
    It seems to be under Window->Messages on a current macOS build. I couldn't see how to change the verbosity though. – JosephH Oct 11 '16 at 14:20
  • 2
    Not very helpful when the error is telling you to check the log for details.... – Douglas Gaskell May 05 '18 at 06:27
  • 1
    just a caveat - you might need to try the failing procedure again when the messages window is already visible. At least for me, otherwise it was empty, regardless of the verbosity – Antek Sep 19 '18 at 10:03
60

I found the following command to run from command line:

vlc.exe --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt
jmb
  • 363
  • 2
  • 8
garima
  • 5,154
  • 11
  • 46
  • 77
  • 2
    IMHO is better to increase the verbosity level than change the command for execute the program – MiPnamic Nov 14 '12 at 16:37
  • It depends. I needed to save logs to a file so I can post on pastebin.com and then link that on a forum topic regarding my problem. Different needs and all. – ipruthi Nov 18 '12 at 06:03
  • 1
    For me (windows) this worked better than the GUI Messages window because it opens up a console, which displays helpful stdout messages from sublibraries that don't show up in the Messages window, even with verbosity set to 2... – rogerdpack Sep 19 '13 at 06:02
  • this log file is saved in c://Users/ – Confused Vorlon Mar 31 '14 at 16:21
  • when i run this command in cmd it says vlc.exe is not recognized as a command – sukhvir Sep 01 '14 at 10:34
  • 3
    @sukhvir, you need to run the command from where VLC is installed down to the folder where the vlc.exe file is located, eg `C:\Program Files (x86)\VideoLAN\VLC>` – jxramos May 02 '16 at 03:01