}\r
\r
private static void initLogger() {\r
- Logger l = Logger.getLogger("org.apache.axis");\r
-\r
+ Logger laxis = Logger.getLogger("org.apache.axis");\r
+ Logger lcastor = Logger.getLogger("org.exolab.castor");\r
if (Cache.getProperty("logs.Axis.Level") == null) {\r
Cache.setProperty("logs.Axis.Level", Level.INFO.toString());\r
}\r
+ if (Cache.getProperty("logs.Castor.Level") == null) {\r
+ Cache.setProperty("logs.Castor.Level", Level.INFO.toString());\r
+ }\r
\r
- l.setLevel(Level.toLevel(Cache.getProperty("logs.Axis.Level")));\r
+ laxis.setLevel(Level.toLevel(Cache.getProperty("logs.Axis.Level")));\r
+ lcastor.setLevel(Level.toLevel(Cache.getProperty("logs.Castor.Level")));\r
\r
ConsoleAppender ap = new ConsoleAppender(new SimpleLayout(),\r
"System.err");\r
- ap.setName("Axis");\r
- l.addAppender(ap);\r
+ ap.setName("JalviewLogger");\r
+ laxis.addAppender(ap);\r
+ lcastor.addAppender(ap);\r
}\r
\r
public static void main(String[] args) {\r