Move some ui logs to info level.

cusax-fix
Yana Stamcheva 15 years ago
parent 256e39e7de
commit 997dc960d7

@ -730,8 +730,8 @@ private void initButtonsPanel(UIContact uiContact)
nameLabel.getHeight() + statusMessageLabelHeight,
28, 28);
if (logger.isDebugEnabled())
logger.debug("CHAT_BUTTON_BOUNDS: " + chatButton.getBounds());
if (logger.isInfoEnabled())
logger.info("CHAT_BUTTON_BOUNDS: " + chatButton.getBounds());
x += chatButton.getWidth();
}
@ -760,8 +760,8 @@ private void initButtonsPanel(UIContact uiContact)
nameLabel.getHeight() + statusMessageLabelHeight, 28, 28);
callButton.setEnabled(telephonyContact != null);
if (logger.isDebugEnabled())
logger.debug("CALL_BUTTON_BOUNDS: " + callButton.getBounds());
if (logger.isInfoEnabled())
logger.info("CALL_BUTTON_BOUNDS: " + callButton.getBounds());
x += callButton.getWidth();
}
@ -786,8 +786,8 @@ private void initButtonsPanel(UIContact uiContact)
callVideoButton.setBounds(x,
nameLabel.getHeight() + statusMessageLabelHeight, 28, 28);
if (logger.isDebugEnabled())
logger.debug("CALL_VIDEO_BUTTON_BOUNDS: "
if (logger.isInfoEnabled())
logger.info("CALL_VIDEO_BUTTON_BOUNDS: "
+ callVideoButton.getBounds());
x += callVideoButton.getWidth();
@ -813,8 +813,8 @@ private void initButtonsPanel(UIContact uiContact)
desktopSharingButton.setBounds(x,
nameLabel.getHeight() + statusMessageLabelHeight, 28, 28);
if (logger.isDebugEnabled())
logger.debug("DESKTOP_SHARING_BUTTON_BOUNDS: "
if (logger.isInfoEnabled())
logger.info("DESKTOP_SHARING_BUTTON_BOUNDS: "
+ desktopSharingButton.getBounds());
x += desktopSharingButton.getWidth();
@ -836,8 +836,8 @@ private void initButtonsPanel(UIContact uiContact)
addContactButton.setBounds(x,
nameLabel.getHeight() + statusMessageLabelHeight, 28, 28);
if (logger.isDebugEnabled())
logger.debug("ADD_CONTACT_BUTTON_BOUNDS: "
if (logger.isInfoEnabled())
logger.info("ADD_CONTACT_BUTTON_BOUNDS: "
+ addContactButton.getBounds());
x += addContactButton.getWidth();

@ -1077,8 +1077,8 @@ public void run()
*/
public FilterQuery applyFilter(ContactListFilter filter)
{
if (logger.isDebugEnabled())
logger.debug("Contact list filter applied: " + filter);
if (logger.isInfoEnabled())
logger.info("Contact list filter applied: " + filter);
if (currentFilterQuery != null && !currentFilterQuery.isCanceled())
currentFilterQuery.cancel();
@ -1157,8 +1157,8 @@ public void run()
}
catch (InterruptedException e)
{
if (logger.isDebugEnabled())
logger.debug("Filter thread was interrupted.", e);
if (logger.isInfoEnabled())
logger.info("Filter thread was interrupted.", e);
}
}
}
@ -1556,8 +1556,8 @@ private void dispatchEventToButtons(MouseEvent event)
Component mouseComponent
= renderer.findComponentAt(translatedX, translatedY);
if (logger.isDebugEnabled())
logger.debug("DISPATCH MOUSE EVENT TO COMPONENT: "
if (logger.isInfoEnabled())
logger.info("DISPATCH MOUSE EVENT TO COMPONENT: "
+ mouseComponent + " for x: " + translatedX
+ " and y: " + translatedY);

Loading…
Cancel
Save