Author: [email protected]
Date: Mon Jun 4 16:14:49 2012
New Revision: 2434
Log:
[AMDATUAUTH-163] Small improvement
Modified:
trunk/amdatu-auth/tools/loghandler/src/main/java/org/amdatu/auth/tools/loghandler/service/ConsoleLogHandler.java
Modified:
trunk/amdatu-auth/tools/loghandler/src/main/java/org/amdatu/auth/tools/loghandler/service/ConsoleLogHandler.java
==============================================================================
---
trunk/amdatu-auth/tools/loghandler/src/main/java/org/amdatu/auth/tools/loghandler/service/ConsoleLogHandler.java
(original)
+++
trunk/amdatu-auth/tools/loghandler/src/main/java/org/amdatu/auth/tools/loghandler/service/ConsoleLogHandler.java
Mon Jun 4 16:14:49 2012
@@ -33,7 +33,7 @@
/**
* Handles log messages and prints them to the console.
- *
+ *
* @author <a href="mailto:[email protected]">Amdatu Project
Team</a>
*/
public class ConsoleLogHandler implements LogListener, ManagedService {
@@ -76,7 +76,7 @@
if (entry.getLevel() <= m_minLogLevel) {
String symbName = entry.getBundle().getSymbolicName();
String msg;
- if ("org.amdatu.auth.tools.loghandler".equals(symbName)) {
+ if (PID.equals(symbName)) {
// This is a log message logged by the JdkLogForwarder service
from this bundle.
// In this case, do not append the origin bundle as this is
already appended by
// the JdkLogForwarder.
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits