AbstractUserTransactionServiceFactory.CONSOLE_FILE_LIMIT_PROPERTY_NAME, p );
String countString = getTrimmedProperty (
AbstractUserTransactionServiceFactory.CONSOLE_FILE_COUNT_PROPERTY_NAME, p );
int limit = Integer.parseInt ( limitString );
int count = Integer.parseInt ( countString );
RotatingFileConsole console = new RotatingFileConsole ( consolePath,
limit, count );
String logLevel = getTrimmedProperty (
AbstractUserTransactionServiceFactory.CONSOLE_LOG_LEVEL_PROPERTY_NAME, p );
int level = Console.WARN;
if ( "INFO".equalsIgnoreCase ( logLevel ) )
level = Console.INFO;
else if ( "DEBUG".equalsIgnoreCase ( logLevel ) )
level = Console.DEBUG;
console.setLevel ( level );
Configuration.addConsole ( console );
try {
Class.forName("org.slf4j.Logger");