qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DISPATCH-50) Allow configurable setting of logging levels.
Date Tue, 06 May 2014 22:56:24 GMT

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

Alan Conway edited comment on DISPATCH-50 at 5/6/14 10:55 PM:
--------------------------------------------------------------

Patch attached, needs review. 
QUESTION: is the container configuration the right place to put this?

Added 'log' key to container config. E.g.

{code}
container {
 # log TRACE messages and WARNING or above.
 log:TRACE,WARNING+
}
{code}
qpid_dispatch_internal/config
- schema.py:
  - class Value class to represent existing schema values
  - class LogValue with parsing for log values.
- parser.py: Use Value class
- __init__.py: don't force import of parser module (simplify unit testing)

config_test.py: Added unit test for LogValue
configure.c: set logging mask from log config item.
doc/man/qdrouterd.conf.5.in: document the new container log config item.



was (Author: aconway):
Patch attached, needs review.

Added 'log' key to container config. E.g.

{code}
container {
 # log TRACE messages and WARNING or above.
 log:TRACE,WARNING+
}
{code}
qpid_dispatch_internal/config
- schema.py:
  - class Value class to represent existing schema values
  - class LogValue with parsing for log values.
- parser.py: Use Value class
- __init__.py: don't force import of parser module (simplify unit testing)

config_test.py: Added unit test for LogValue
configure.c: set logging mask from log config item.
doc/man/qdrouterd.conf.5.in: document the new container log config item.


> Allow configurable setting of logging levels.
> ---------------------------------------------
>
>                 Key: DISPATCH-50
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-50
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>         Attachments: 0001-NO-JIRA-Configurable-logging-levels.patch
>
>
> Allow enabling selected log levels in the qdrouterd.conf file



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message