Bug 683595 - Documentation update: How to change logging level at run time
Summary: Documentation update: How to change logging level at run time
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Messaging_Programming_Reference
Version: 1.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: 2.2
: ---
Assignee: Joshua Wulf
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On: 660526
Blocks: 657398 660531
TreeView+ depends on / blocked
 
Reported: 2011-03-09 19:42 UTC by Ted Ross
Modified: 2014-10-19 22:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-20 03:13:19 UTC
Target Upstream Version:
jwulf: needinfo-


Attachments (Terms of Use)

Description Ted Ross 2011-03-09 19:42:14 UTC
The new feature "Provide mechanism to alter brokers logging level at runtime" requires documentation of how the feature is accessed and used.

Comment 3 Lana Brindley 2011-10-13 02:51:15 UTC
Setting NEEDINFO from reporter, please feel free to pass on to someone more appropriate.

This will be addressed after 2.1.

LKB

Comment 4 Joshua Wulf 2012-03-30 02:51:05 UTC
This is done programmatically by the look of https://bugzilla.redhat.com/show_bug.cgi?id=657398

Can someone give me a code example that modifies the logging level to increase it, and one to decrease it, and I can write the story:

Something is up, you want to examine what's happening, but you don't want to restart. So you can dynamically turn the logging level up to 11, troubleshoot, and then turn it back down.

Turn the logging level up to 11:

  example code goes here

Turn the logging level back down:

  example code goes here

Comment 6 Pavel Moravec 2012-04-26 07:35:44 UTC
(In reply to comment #4)
> This is done programmatically by the look of
> https://bugzilla.redhat.com/show_bug.cgi?id=657398
> 
> Can someone give me a code example that modifies the logging level to increase
> it, and one to decrease it, and I can write the story:
> 

Does https://access.redhat.com/knowledge/solutions/67020 help? (I can provide content to those not having access to KCS).

Comment 7 Joshua Wulf 2012-04-26 09:58:51 UTC
Yes, that's perfect. Thanks!

Comment 9 Pavel Moravec 2012-05-02 13:57:41 UTC
(In reply to comment #8)
> http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2.2/html-single/Messaging_Programming_Reference/index.html#Change_the_logging_level_at_runtime

The command to execute the translated code has typos:

./set\_log\_level "trace+"

should be replaced by:

./set_log_level "trace+"

(The typos come from my KCS article that I just corrected - the syntax in KCS tool is/was sometimes tricky / easy to create a typo).

Comment 12 Cheryn Tan 2012-09-20 02:53:58 UTC
Released for MRG 2.2


Note You need to log in before you can comment on or make changes to this bug.