how to specify an external logfile when using python-vlc

This forum is about all development around libVLC.
jmooremcc
New Cone
New Cone
Posts: 1
Joined: 10 Mar 2015 23:23

how to specify an external logfile when using python-vlc

Postby jmooremcc » 10 Feb 2021 01:38

I'm using python-vlc to develop a player/recorder.
Using the normal user interface, I get a log file at the location I specified.
When using python-vlc, the best I can get is debug information printed in the console with this code:

Code: Select all

instance = vlc.Instance('--verbose=3') #Create Player, etc
This is what I've tried but it doesn't produce a log file:

Code: Select all

options=['--verbose=3','--file-logging','--logmode=text' '--logfile="myvlc.log"'] instance = vlc.Instance(options) #Create Player, etc
Anyone have any ideas what I need to do to generate a log file?

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests