Author: tolusha
Date: 2012-03-02 09:51:31 -0500 (Fri, 02 Mar 2012)
New Revision: 5752
Modified:
kernel/branches/2.4.x/exo.kernel.component.common/src/main/java/org/exoplatform/services/listener/ListenerService.java
Log:
EXOJCR-1779: clean logging
Modified:
kernel/branches/2.4.x/exo.kernel.component.common/src/main/java/org/exoplatform/services/listener/ListenerService.java
===================================================================
---
kernel/branches/2.4.x/exo.kernel.component.common/src/main/java/org/exoplatform/services/listener/ListenerService.java 2012-03-02
14:44:27 UTC (rev 5751)
+++
kernel/branches/2.4.x/exo.kernel.component.common/src/main/java/org/exoplatform/services/listener/ListenerService.java 2012-03-02
14:51:31 UTC (rev 5752)
@@ -162,9 +162,7 @@
}
catch (Exception e)
{
- // log exception and keep broadcast events
- LOG.error("Exception on broadcasting events occures: " +
e.getMessage(), e.getCause());
- LOG.info("Exception occures but keep broadcast events.");
+ LOG.error("Exception on broadcasting events occures: " +
e.getMessage(), e);
}
}
}
@@ -196,9 +194,7 @@
}
catch (Exception e)
{
- // log exception and keep broadcast events
- LOG.error("Exception on broadcasting events occures: " +
e.getMessage(), e.getCause());
- LOG.info("Exception occures but keep broadcast events.");
+ LOG.error("Exception on broadcasting events occures: " +
e.getMessage(), e);
}
}
}
@@ -275,7 +271,7 @@
{
// Do not throw exception. Event is asynchronous so just report error.
// Must say that exception will be ignored even in synchronous events.
- LOG.error("Exception on broadcasting events occures: " +
e.getMessage(), e.getCause());
+ LOG.error("Exception on broadcasting events occures: " +
e.getMessage(), e);
}
}
}
Show replies by date