VLC isn't logging anything

*nix specific usage questions
andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

VLC isn't logging anything

Postby andy_blah » 01 Apr 2014 23:58

I'm using VLC 2.1.2 (the latest in the repos) on Debian, and even though I've set VLC to log everything on 2 (verbosity) in a vlc.log file under my home directory, the log file never shows up. Should I do something additional?

andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

Re: VLC isn't logging anything

Postby andy_blah » 02 Apr 2014 18:03

*bump* I've had a system crash due to watching something on VLC yet it didn't log anything ofcourse :roll:
I've even created the empty file and set the proper permissions to it and... nothing!

andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

Re: VLC isn't logging anything

Postby andy_blah » 04 Apr 2014 01:01

As I didn't get any answers yet, I went ahead and looked at VLC's manpage, and enabled VLC to log by adding --file-logging /path/to/file/
This is for anyone who needs this.
Please fix the broken logging setting.

Rémi Denis-Courmont
Developer
Developer
Posts: 15343
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC isn't logging anything

Postby Rémi Denis-Courmont » 05 Apr 2014 10:06

The verbosity settings works fine here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

Re: VLC isn't logging anything

Postby andy_blah » 09 Apr 2014 04:43

Doesn't work here.

wannabesrevenge
New Cone
New Cone
Posts: 2
Joined: 04 Jul 2015 07:31

Re: VLC isn't logging anything

Postby wannabesrevenge » 04 Jul 2015 07:36

Bump. GUI-based logging setting is not working for me either. I'm currently on Arch 4.0.5 with VLC 2.2.1 . Log file is set to /home/{home}/log/vlc.log . Log format text. syslog ident vlc. syslog facility user. verbosity 2. Restarted vlc multiple times. tried higher verbosity, seems like 2 is the highest tho.

andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

Re: VLC isn't logging anything

Postby andy_blah » 04 Jul 2015 15:01

To add to this issue, I tried running vlc with the following arguments: "--verbose=2 --file-logging --logfile=~/vlc.log" (the previous command I mentioned here doesn't seem to work anymore), the file does show up, but in it I only get this:

Code: Select all

-- logger module started -- -- logger module stopped -- -- logger module started -- -- logger module stopped -- -- logger module started -- -- logger module stopped -- -- logger module started -- -- logger module stopped -- -- logger module started -- -- logger module stopped -- -- logger module started -- -- logger module stopped --
I get a pair of those messages every time I start VLC...

Rémi Denis-Courmont
Developer
Developer
Posts: 15343
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC isn't logging anything

Postby Rémi Denis-Courmont » 05 Jul 2015 19:54

With a proper file path, it works fine here (VLC 2.2.1 from Debian).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

Re: VLC isn't logging anything

Postby andy_blah » 05 Jul 2015 19:57

What could cause it to not log anything useful at my end in that case?
Just to be clear, the path specified is "--logfile=/home/*username*/vlc.log", I just redacted it in my previous post.

klugerama
New Cone
New Cone
Posts: 1
Joined: 12 Aug 2017 01:17

Re: VLC isn't logging anything

Postby klugerama » 12 Aug 2017 01:43

Running VLC 2.2.2 on Ubuntu 16.04.

Open preferences, "Show setttings" --> All, Select "Interface" in the tree. There is a checkbox, "Log to file" which must be checked in order for file logging to work.

Now all the settings in the Logging preferences panel will work (for file logging, obviously; you need to check the box for "Log to syslog" if you want that to work).

I think it's really dumb that the Logging settings are in a different preferences panel from the checkboxes that enable them AND that it even allows editing of these settings when the checkboxes are not checked. There is a panel called "Logging"! Why the @#$% would I look in a different panel altogether ("Interface"????) to enable logging?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 79 guests