Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-732

CONN_MGR log module is used in connection_manager.c but is missing from log schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • Container
    • None

    Description

      src/connection_manager.c has a constructor that initializes the log source to CONN_MGR

      qd_connection_manager_t *qd_connection_manager(qd_dispatch_t *qd)
      {
          qd_connection_manager_t *cm = NEW(qd_connection_manager_t);
          if (!cm)
              return 0;
      
          cm->log_source = qd_log_source("CONN_MGR");
          cm->ssl_profile_lock = sys_mutex();
          cm->server     = qd->server;
          DEQ_INIT(cm->config_listeners);
          DEQ_INIT(cm->config_connectors);
          DEQ_INIT(cm->config_ssl_profiles);
      
          return cm;
      }
      

      But the CONN_MGR log module is missing from the qdrouter.json schema

                      "module": {
                          "type":[
                              "ROUTER",
                              "ROUTER_CORE",
                              "ROUTER_HELLO",
                              "ROUTER_LS",
                              "ROUTER_MA",
                              "MESSAGE",
                              "SERVER",
                              "AGENT",
                              "CONTAINER",
                              "ERROR",
                              "POLICY",
                              "HTTP",
                              "DEFAULT"
                          ],
      

      Add CONN_MGR list of modules and test if the log messages are printing out correctly .

      Attachments

        Activity

          People

            gmurthy Ganesh Murthy
            gmurthy Ganesh Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: