Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4651

C++ Broker logging could use an easy way to disable log messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20
    • 0.23
    • C++ Broker
    • None

    Description

      The logging module currently has shorthand switches for enabling categories of log messages. A convenience for the user would be a switch that disabled categories of log messages with similar syntax and effect. For example:

      --log-enable debug+

      enables debug and higher for all classes of log message.

      Often the casual experimenting user would like to see debug or trace messages but not be crushed by a flood of Network and Management debug and trace messages. The proposal here is to add a switch like

      -log-disable debug:Management

      that would turn off messages from a class (like Management) at debug and lower level.

      --log-disable would turn off logging the same way that --log-enable turns on logging. There are thirteen log categories and enabling only the ones you want is tedious.

      Attachments

        Activity

          People

            chug Charles E. Rolke
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: