Bug 6020 - Ability to reset logging levels to defaults
: Ability to reset logging levels to defaults
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: PC All
: P2 enhancement (vote)
: Future
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-02 21:44 UTC by Jim McAtee
Modified: 2009-01-11 22:42 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2007-11-02 21:44:47 UTC
Similar to bug 4611 perhaps, but only to reset the logging levels, not all server settings.

This would be good to have now with the ability to have persistent logging levels.  Nobody is going to know how to get back to where they started, which could result in some huge log files.
Comment 1 Mark Miksis 2007-11-21 22:24:48 UTC
FWIW, my suggestion to improve this:

- Make "save settings after restart" the default
- Remove the "save settings" option checkbox
- Add a button to "restore default logging settings"
Comment 2 KDF 2007-11-22 11:02:34 UTC
easy for core categories, but plugins create new categories at runtime.  These could be set to WARN but that won't make people happy for long.
Comment 3 Jim McAtee 2007-11-22 13:35:48 UTC
Do plugins set their own logging level or is it automatically set by the server when the plugin is installed?  If it's automatically set by the server, then that level is the default.  If the plugin sets its own level when installed (not sure that's a great idea), can it be noted somewhere (the prefs/plugin/state.prefs file?) so that the level can later be reset?
Comment 4 Blackketter Dean 2007-12-28 07:56:27 UTC
Andy will be looking at some logging issues post-7.0
Comment 5 Michael Herger 2008-09-23 06:31:22 UTC
change 23245 (bug 6904) added the option to reset all log levels to what was defined in Slim::Utils::Log, others (plugins) to ERROR.  Is this good enough for this bug to be closed?
Comment 6 Jim McAtee 2009-01-11 22:42:27 UTC
This can be closed.