-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
Add a logLevel field to the command interface/base-class so that slow operations for these commands are only logged if the current logLevel is equal-to-or-above the log level defined by the command.
By default all commands should start with level 0.
Also fields to listCommands to include this new field, and a description.
A good example is the writebacklisten command which should only be logged at level 2 or so.