\r
private static void initLogger() {\r
Logger l = Logger.getLogger("org.apache.axis");\r
- l.setLevel(Level.INFO);\r
+ if (Cache.getProperty("logs.Axis.Level")==null) {\r
+ Cache.setProperty("logs.Axis.Level", Level.INFO.toString());\r
+ }\r
+\r
+ l.setLevel(Level.toLevel(Cache.getProperty("logs.Axis.Level")));\r
ConsoleAppender ap = new ConsoleAppender(new SimpleLayout(),"System.err");\r
ap.setName("Axis");\r
l.addAppender(ap);\r
try {\r
initLogger();\r
} catch (Exception e) {\r
- System.out.println("Failed to initialise the log4j system for axis\n"+e);\r
+ System.out.println("Problems initializing the log4j system\n"+e);\r
}\r
try{\r
UIManager.setLookAndFeel(\r