Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6358

Add field to command interface to only log slow commands by a logLevel threshold

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: