r9637 - helma-ng/trunk/modules/helma
[email protected] Tue, 21 Apr 2009 16:01:06 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090421140106.D5BE93D0D6@mia> |
Author: hannes
Date: 2009-04-21 16:01:06 +0200 (Tue, 21 Apr 2009)
New Revision: 9637
Modified:
helma-ng/trunk/modules/helma/logging.js
Log:
Make getLogger() work with '/' as module id separator.
Details at http://dev.helma.org/trac/helma/changeset/9637
Modified: helma-ng/trunk/modules/helma/logging.js
===================================================================
--- helma-ng/trunk/modules/helma/logging.js 2009-04-21 08:37:58 UTC (rev 9636)
+++ helma-ng/trunk/modules/helma/logging.js 2009-04-21 14:01:06 UTC (rev 9637)
@@ -34,7 +34,7 @@
// getResource('foo').name gets us the absolute path to a local resource
this.setConfig(getResource('config/log4j.properties'));
}
- return org.apache.log4j.Logger.getLogger(name);
+ return org.apache.log4j.Logger.getLogger(name.replace('/', '.'));
}
// now that getLogger is installed we can get our own log