Skip to content

Commit

Permalink
Remove excessive logging in PageTaskEdit
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Nov 5, 2018
1 parent f6798ba commit 24626cf
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -261,7 +261,7 @@ public void refresh(AjaxRequestTarget target) {
}
if (tabsVisibilityNew.equals(tabsVisibilityOld)) {
// soft version
LOGGER.info("Soft version of the page refreshing, tabsVisibilityNew: " + tabsVisibilityNew + "; \n tabsVisibilityOld: " + tabsVisibilityOld);
LOGGER.trace("Soft version of the page refreshing, tabsVisibilityNew: " + tabsVisibilityNew + "; \n tabsVisibilityOld: " + tabsVisibilityOld);
for (Component component : mainPanel.getTabPanel()) {
if (component instanceof TaskTabPanel) {
for (Component c : ((TaskTabPanel) component).getComponentsToUpdate()) {
Expand All @@ -270,7 +270,7 @@ public void refresh(AjaxRequestTarget target) {
}
}
} else {
LOGGER.info("Hard version of the page refreshing, tabsVisibilityNew: " + tabsVisibilityNew + "; \n tabsVisibilityOld: " + tabsVisibilityOld);
LOGGER.trace("Hard version of the page refreshing, tabsVisibilityNew: " + tabsVisibilityNew + "; \n tabsVisibilityOld: " + tabsVisibilityOld);
// hard version
target.add(getSummaryPanel());
target.add(mainPanel.getTabPanel());
Expand All @@ -281,10 +281,10 @@ public void refresh(AjaxRequestTarget target) {
refreshDto.recordRefreshed();

if (isEdit() || !refreshDto.isEnabled()) {
LOGGER.info("Stop refreshing, interval=" + refreshDto.getInterval());
LOGGER.trace("Stop refreshing, interval=" + refreshDto.getInterval());
getRefreshPanel().stopRefreshing(this, target);
} else {
LOGGER.info("Start refreshing, interval=" + refreshDto.getInterval());
LOGGER.trace("Start refreshing, interval=" + refreshDto.getInterval());
getRefreshPanel().startRefreshing(this, target);
}
}
Expand Down

0 comments on commit 24626cf

Please sign in to comment.