You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/01/07 23:11:26 UTC
svn commit: r1650178 - in /qpid/dispatch/trunk/doc: book/using.md
man/qdmanage.8.noopt.md.in
Author: aconway
Date: Wed Jan 7 22:11:25 2015
New Revision: 1650178
URL: http://svn.apache.org/r1650178
Log:
DISPATCH-92: Fix documentation for logging changes.
Modified:
qpid/dispatch/trunk/doc/book/using.md
qpid/dispatch/trunk/doc/man/qdmanage.8.noopt.md.in
Modified: qpid/dispatch/trunk/doc/book/using.md
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/doc/book/using.md?rev=1650178&r1=1650177&r2=1650178&view=diff
==============================================================================
--- qpid/dispatch/trunk/doc/book/using.md (original)
+++ qpid/dispatch/trunk/doc/book/using.md Wed Jan 7 22:11:25 2015
@@ -68,8 +68,8 @@ but modify the configuration of a runnin
For example you can query all the connection entities in the route r
$ qdrouterd query --type connection
-You can enable debug logging by default like this:
- $ qdrouter update log/DEFAULT level=debug
+To enable logging debug and higher level messages by default:
+ $ qdrouter update log/DEFAULT enable=debug+
In fact, everything that can be configured in the configuration file can also be created
in a running router via management. For example to create a new listener in a running router:
Modified: qpid/dispatch/trunk/doc/man/qdmanage.8.noopt.md.in
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/doc/man/qdmanage.8.noopt.md.in?rev=1650178&r1=1650177&r2=1650178&view=diff
==============================================================================
--- qpid/dispatch/trunk/doc/man/qdmanage.8.noopt.md.in (original)
+++ qpid/dispatch/trunk/doc/man/qdmanage.8.noopt.md.in Wed Jan 7 22:11:25 2015
@@ -70,17 +70,21 @@ Show the logging configuration
qdmanage query --type=log
-Change the default log level to debug
+Enable debug and higher log messages by default:
- qdmanage udpdate name=log/DEFAULT level=debug
+ qdmanage udpdate name=log/DEFAULT enable=debug+
-Change the MESSAGE log level to trace and direct MESSAGE logs to the file "test.log"
+Enable trace log messages only for the MESSAGE moudle and direct MESSAGE logs to the file "test.log"
- qdmanage udpdate name=log/MESSAGE level=trace output=test.log
+ qdmanage udpdate name=log/MESSAGE enable=trace output=test.log
-Set the MESSAGE log level back to the default (delete the log/MESSAGE level attribute)
+Set MESSAGE logging back to the default:
- qdmanage udpdate name=log/MESSAGE level
+ qdmanage udpdate name=log/MESSAGE enable=default
+
+Disable MESSAGE logging:
+
+ qdmanage udpdate name=log/MESSAGE enable=none
# See also
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org