net.sf.spring.batch
Class Log4jConfigurator
java.lang.Object
  
net.sf.spring.batch.Log4jConfigurator
- All Implemented Interfaces: 
 - LogConfigurator
 
- public class Log4jConfigurator
- extends Object
- implements LogConfigurator
   
A basic log4j configuration.
 
 The confDir/jobName.toLowerCase()-log4j.xml
 is used. 
 
 If the previous file isn't found, a simple basic log4j configuration is made with a console appender with WARN level.
- Author:
 
  - willy
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Log4jConfigurator
public Log4jConfigurator()
configure
public void configure(File confDir,
                      String appName)
- Description copied from interface: 
LogConfigurator 
- Called by launcher.
- Specified by:
 configure in interface LogConfigurator
 
- Parameters:
 confDir - The configuration directory.appName - The name of the batch.- See Also:
 LogConfigurator.configure(java.io.File,java.lang.String)
 
 
Copyright © 2009. All Rights Reserved.