LMS-Community/plugin-Qobuz

Logging category added two times

Closed this issue · 1 comments

plugin.qobuz is added two times to the Log

(once in Plugin.pm with level 'ERROR' and once in Settings.pm with level 'INFO')

When looking at web GUI 'Settings'->'Advanced' choosing 'Logging' in drop down menu there is one entry for plugin.qobuz with level 'INFO'. I think the addLoggCategory call in Settings.pm overwrites the first one.

My guess is that you would want something like:

my $log = logger('plugin.qobuz');

in Settings.pm

Fixed in commit 4542094. Thanks!