New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log output swallowed by `service mopidy run ...` #740

Closed
timbms opened this Issue May 30, 2014 · 5 comments

Comments

3 participants
@timbms

timbms commented May 30, 2014

It would be great to see/log the progress of a local scan.
If this can't be done, it would be great to have this in the future

@jodal jodal added Local labels May 30, 2014

@jodal

This comment has been minimized.

Member

jodal commented May 30, 2014

AFAIK the mopidy local scan command already logs progress every 1000 tracks with the message "Scanned N of M tracks in Xs, ~Ys left."

What version do you run? How do you run the scan command? Do you have less than 1000 tracks?

@timbms

This comment has been minimized.

timbms commented May 30, 2014

I have 20000 tracks scanned
I run service mopidy run local scan.
I am running version 0.18.3
On 30 May 2014 22:03, "Stein Magnus Jodal" notifications@github.com wrote:

AFAIK the mopidy local scan command already logs progress every 1000
tracks with the message "Scanned N of M tracks in Xs, ~Ys left."

What version do you run? How do you run the scan command? Do you have less
than 1000 tracks?


Reply to this email directly or view it on GitHub
#740 (comment).

@jodal

This comment has been minimized.

Member

jodal commented May 30, 2014

Ah, I think some logging is swallowed by an issue with the logging setup when running through sudo service mopidy run .... We surely want to fix that.

@jodal jodal added bug and removed Local labels May 30, 2014

@jodal jodal changed the title from Progress of local scan to Log output swallowed by `service mopidy run ...` May 30, 2014

@jodal jodal added this to the v0.21 - MPD playlist mgmt milestone Jun 27, 2014

@jodal

This comment has been minimized.

Member

jodal commented Aug 11, 2014

This may have been fixed by commit cb0387c. Needs testing.

@jodal jodal modified the milestones: v0.21 - MPD playlist mgmt, v0.20 - Audio cleanup, v0.19.4 Aug 11, 2014

@jodal

This comment has been minimized.

Member

jodal commented Aug 11, 2014

Mopidy 0.19.3-60-ge1fda35, running sudo service mopidy run local scan, looking at /var/log/mopidy/mopidy.log:

2014-08-11 12:48:15,587 INFO [25768:MainThread] mopidy.__main__: Starting Mopidy 0.19.3-60-ge1fda35
2014-08-11 12:48:15,612 INFO [25768:MainThread] mopidy.config: Loading config from builtin defaults
2014-08-11 12:48:15,613 INFO [25768:MainThread] mopidy.config: Loading config from /etc/mopidy/extensions.d/spotify.conf
2014-08-11 12:48:15,613 INFO [25768:MainThread] mopidy.config: Loading config from /etc/mopidy/mopidy.conf
2014-08-11 12:48:15,614 INFO [25768:MainThread] mopidy.config: Loading config from command line options

Mopidy 0.19.3-61-gcb0387c, same:

2014-08-11 12:49:41,014 INFO [26070:MainThread] mopidy.__main__: Starting Mopidy 0.19.3-61-gcb0387c
2014-08-11 12:49:41,040 INFO [26070:MainThread] mopidy.config: Loading config from builtin defaults
2014-08-11 12:49:41,040 INFO [26070:MainThread] mopidy.config: Loading config from /etc/mopidy/extensions.d/spotify.conf
2014-08-11 12:49:41,040 INFO [26070:MainThread] mopidy.config: Loading config from /etc/mopidy/mopidy.conf
2014-08-11 12:49:41,041 INFO [26070:MainThread] mopidy.config: Loading config from command line options
2014-08-11 12:49:41,062 INFO [26070:MainThread] mopidy.__main__: Enabled extensions: local, mpd, softwaremixer, http, stream
2014-08-11 12:49:41,062 INFO [26070:MainThread] mopidy.__main__: Disabled extensions: none
2014-08-11 12:49:41,074 INFO [26070:MainThread] mopidy.local.commands: Found 0 files in media_dir.
2014-08-11 12:49:41,075 INFO [26070:MainThread] mopidy.local.commands: Checking 0 tracks from library.
2014-08-11 12:49:41,075 INFO [26070:MainThread] mopidy.local.commands: Removing 0 missing tracks.
2014-08-11 12:49:41,075 INFO [26070:MainThread] mopidy.local.commands: Found 0 tracks which need to be updated.
2014-08-11 12:49:41,075 INFO [26070:MainThread] mopidy.local.commands: Scanning...
2014-08-11 12:49:41,076 INFO [26070:MainThread] mopidy.local.commands: Scanned 0 of 0 files in 0s.
2014-08-11 12:49:41,077 INFO [26070:MainThread] mopidy.local.commands: Done scanning.

In other words, I think commit cb0387c fixed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment