[ 
https://issues.apache.org/jira/browse/DISPATCH-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936739#comment-15936739
 ] 

ASF subversion and git services commented on DISPATCH-732:
----------------------------------------------------------

Commit 4284ffb12f07a10d509d5339553a8115c07cb382 in qpid-dispatch's branch 
refs/heads/master from [~ganeshmurthy]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=4284ffb ]

DISPATCH-732 - Added log modules used in code but missing from schema


> CONN_MGR log module is used in connection_manager.c but is missing from log 
> schema
> ----------------------------------------------------------------------------------
>
>                 Key: DISPATCH-732
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-732
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 0.8.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>
> src/connection_manager.c has a constructor that initializes the log source to 
> CONN_MGR
> {noformat}
> 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;
> }
> {noformat}
> But the CONN_MGR log module is missing from the qdrouter.json schema
> {noformat}
>                 "module": {
>                     "type":[
>                         "ROUTER",
>                         "ROUTER_CORE",
>                         "ROUTER_HELLO",
>                         "ROUTER_LS",
>                         "ROUTER_MA",
>                         "MESSAGE",
>                         "SERVER",
>                         "AGENT",
>                         "CONTAINER",
>                         "ERROR",
>                         "POLICY",
>                         "HTTP",
>                         "DEFAULT"
>                     ],
> {noformat}
> Add CONN_MGR list of modules and test if the log messages are printing out 
> correctly .



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to