mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: less logging in ChangeViewManager: display the stack trace only in the TRACE mode
This commit is contained in:
@@ -126,7 +126,13 @@ public class ChangesViewManager implements ChangesViewI, JDOMExternalizable, Pro
|
||||
@Override
|
||||
public void valueChanged(TreeSelectionEvent e) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("selection changed. selected: " + toStringPaths(myView.getSelectionPaths()) + " from: " + DebugUtil.currentStackTrace());
|
||||
String message = "selection changed. selected: " + toStringPaths(myView.getSelectionPaths());
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace(message + " from: " + DebugUtil.currentStackTrace());
|
||||
}
|
||||
else {
|
||||
LOG.debug(message);
|
||||
}
|
||||
}
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user