how to specify an external logfile when using python-vlc
Posted: 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:
This is what I've tried but it doesn't produce a log file:
Anyone have any ideas what I need to do to generate a log file?
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
Code: Select all
options=['--verbose=3','--file-logging','--logmode=text' '--logfile="myvlc.log"']
instance = vlc.Instance(options)
#Create Player, etc