[
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:54 PM:
--------------------------------------------------------------
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.
was (Author: aconway):
Patch attached, needs review.
Added 'log' key to container config. E.g.
container {
# log TRACE messages and WARNING or above.
log:TRACE,WARNING+
}
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: [email protected]
For additional commands, e-mail: [email protected]