arminw 2005/12/07 07:19:45
Modified: src/java/org/apache/ojb/broker/util/logging
LoggerFactoryImpl.java
Log:
fix typo, restrict intern used constants to protected
Revision Changes Path
1.25 +7 -7
db-ojb/src/java/org/apache/ojb/broker/util/logging/LoggerFactoryImpl.java
Index: LoggerFactoryImpl.java
===================================================================
RCS file:
/home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/logging/LoggerFactoryImpl.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- LoggerFactoryImpl.java 19 Nov 2005 13:33:55 -0000 1.24
+++ LoggerFactoryImpl.java 7 Dec 2005 15:19:44 -0000 1.25
@@ -35,10 +35,10 @@
*/
public class LoggerFactoryImpl
{
- public static final String BOOT_LOG_LEVERL_STR = "OJB.bootLogLevel";
- public static final String BOOT_STR = "BOOT";
- public static final String DEFAULT_STR = "BOOT";
- public static final LoggerFactoryImpl INSTANCE = new LoggerFactoryImpl();
+ public static final String BOOT_LOG_LEVEL_STR = "OJB.bootLogLevel";
+ protected static final String BOOT_STR = "BOOT";
+ protected static final String DEFAULT_STR = "DEFAULT";
+ protected static final LoggerFactoryImpl INSTANCE = new
LoggerFactoryImpl();
private Logger defaultLogger = null;
@@ -219,7 +219,7 @@
{
Logger bootLogger = new PoorMansLoggerImpl(BOOT_STR, conf);
// allow user to set boot log level via system property
- String level = System.getProperty(BOOT_LOG_LEVERL_STR,
LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL);
+ String level = System.getProperty(BOOT_LOG_LEVEL_STR,
LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL);
((PoorMansLoggerImpl) bootLogger).setLevel(level);
return bootLogger;
}
@@ -228,7 +228,7 @@
{
Logger bootLogger = new StringBufferLoggerImpl(BOOT_STR, null);
// allow user to set boot log level via system property
- String level = System.getProperty(BOOT_LOG_LEVERL_STR,
LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL);
+ String level = System.getProperty(BOOT_LOG_LEVEL_STR,
LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL);
((PoorMansLoggerImpl) bootLogger).setLevel(level);
return bootLogger;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]