From: <ma...@rh...> - 2009-01-31 03:41:07
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><style type="text/css"><!-- #msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; } #msg DT { float : left; width : 6em; font-weight : bold; } #msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt; } h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; } #msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; } #msg UL, PRE, .diff { overflow : auto; } #patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; } #patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; } #patch .propset h4, #patch .binary h4 {margin: 0;} #patch pre {padding:0;line-height:1.2em;margin:0;} #patch .diff {background:#eeeeee;padding: 0 0 10px 0;} #patch .propset .diff, #patch .binary .diff {padding: 10px 0;} #patch span {display:block;padding:0 10px;} #patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch .add {background:#ddffdd;} #patch .rem {background:#ffdddd;} #patch .lines, .info {color:#888888;background:#ffffff;} .diff { width : 100%; } #msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; } #msg DT { float : left; width : 6em; font-weight : bold; } #msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt; } h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; } #msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; } #msg UL, PRE, .diff { overflow : auto; } #patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; } #patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; } #patch .propset h4, #patch .binary h4 {margin: 0;} #patch pre {padding:0;line-height:1.2em;margin:0;} #patch .diff {background:#eeeeee;padding: 0 0 10px 0;} #patch .propset .diff, #patch .binary .diff {padding: 10px 0;} #patch span {display:block;padding:0 10px;} #patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch .add {background:#ddffdd;} #patch .rem {background:#ffdddd;} #patch .lines, .info {color:#888888;background:#ffffff;} .diff { width : 100%; } --></style> <title>[rhq-project.org rhq] [2860] turn down logging from info to debug</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>2860</dd> <dt>Author</dt> <dd>mazz</dd> <dt>Date</dt> <dd>2009-01-30 21:41:03 -0600 (Fri, 30 Jan 2009)</dd> </dl> <h3>Log Message</h3> <pre>turn down logging from info to debug</pre> <h3>Modified Paths</h3> <ul> <li><a href="#rhqtrunkmodulesenterprisecommsrcmainjavaorgrhqenterprisecommunicationscommandserverCommandServiceDirectoryjava">rhq/trunk/modules/enterprise/comm/src/main/java/org/rhq/enterprise/communications/command/server/CommandServiceDirectory.java</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="rhqtrunkmodulesenterprisecommsrcmainjavaorgrhqenterprisecommunicationscommandserverCommandServiceDirectoryjava"></a> <div class="modfile"><h4>Modified: rhq/trunk/modules/enterprise/comm/src/main/java/org/rhq/enterprise/communications/command/server/CommandServiceDirectory.java (2859 => 2860)</h4> <pre class="diff"> <span class="info">--- rhq/trunk/modules/enterprise/comm/src/main/java/org/rhq/enterprise/communications/command/server/CommandServiceDirectory.java 2009-01-31 02:42:30 UTC (rev 2859) +++ rhq/trunk/modules/enterprise/comm/src/main/java/org/rhq/enterprise/communications/command/server/CommandServiceDirectory.java 2009-01-31 03:41:03 UTC (rev 2860) </span><span class="lines">@@ -24,6 +24,7 @@ </span><span class="cx"> import java.util.List; import java.util.Map; import java.util.Set; </span><span class="add">+ </span><span class="cx"> import javax.management.MBeanRegistration; import javax.management.MBeanServer; import javax.management.MBeanServerInvocationHandler; </span><span class="lines">@@ -31,6 +32,7 @@ </span><span class="cx"> import javax.management.Notification; import javax.management.NotificationListener; import javax.management.ObjectName; </span><span class="add">+ </span><span class="cx"> import org.rhq.enterprise.communications.command.CommandType; import org.rhq.enterprise.communications.i18n.CommI18NResourceKeys; </span><span class="lines">@@ -93,6 +95,7 @@ </span><span class="cx"> * * @see MBeanRegistration#preRegister(MBeanServer, ObjectName) */ </span><span class="add">+ @Override </span><span class="cx"> public ObjectName preRegister(MBeanServer mbs, ObjectName name) throws Exception { if (!KeyProperty.TYPE_DIRECTORY.equals(name.getKeyProperty(KeyProperty.TYPE))) { String errorMsg = getLog().getMsgString(CommI18NResourceKeys.COMMAND_SERVICE_DIRECTORY_INVALID_SELF_NAME, </span><span class="lines">@@ -109,6 +112,7 @@ </span><span class="cx"> * * @throws RuntimeException */ </span><span class="add">+ @Override </span><span class="cx"> public void startService() { try { // lock out all others to prevent new command registrations from getting added until we finish the inventory </span><span class="lines">@@ -141,6 +145,7 @@ </span><span class="cx"> /** * Clean up any resources that were initialized during start. */ </span><span class="add">+ @Override </span><span class="cx"> public void stopService() { synchronized (m_allCommandTypes) { stopListening(); </span><span class="lines">@@ -251,7 +256,7 @@ </span><span class="cx"> */ public void setAllowDynamicDiscovery(boolean flag) { if (flag) { </span><span class="rem">- getLog().info(CommI18NResourceKeys.COMMAND_SERVICE_DIRECTORY_DYNAMIC_DISCOVERY_ALLOWED); </span><span class="add">+ getLog().debug(CommI18NResourceKeys.COMMAND_SERVICE_DIRECTORY_DYNAMIC_DISCOVERY_ALLOWED); </span><span class="cx"> } m_allowDynamicDiscovery = flag; </span><span class="lines">@@ -452,7 +457,7 @@ </span><span class="cx"> subsystemMap.put(commandType, commandServiceName); </span><span class="rem">- getLog().info(CommI18NResourceKeys.COMMAND_SERVICE_DIRECTORY_NEW_SUPPORTED_COMMAND, commandType, </span><span class="add">+ getLog().debug(CommI18NResourceKeys.COMMAND_SERVICE_DIRECTORY_NEW_SUPPORTED_COMMAND, commandType, </span><span class="cx"> commandServiceName); return; </span><span class="lines">@@ -475,7 +480,7 @@ </span><span class="cx"> // remove the command type, and if no more command types in this subsystem are supported, remove the map itself subsystemMap.remove(commandType); </span><span class="rem">- getLog().info(CommI18NResourceKeys.COMMAND_SERVICE_DIRECTORY_REMOVED_COMMAND_SUPPORT, commandType, </span><span class="add">+ getLog().debug(CommI18NResourceKeys.COMMAND_SERVICE_DIRECTORY_REMOVED_COMMAND_SUPPORT, commandType, </span><span class="cx"> commandServiceName); removeSubsystemCommandTypesIfEmpty(subsystem); </span> </pre> </div> </div> </body> </html> |