| Author |
Message |
|
|
Post subject: Exception during runtime
Posted: May 19, 2006 - 01:46 AM
|
|
|
|
Hi i had a problem while using Log4e
import org.apache.log4j.Logger;
import org.apache.log4j.*;
public class Hello {
/**
* Logger for this class
*/
private static final Logger logger = Logger.getLogger(Hello.class);
public static void main(String args[])
{
String str="Subhakar";
logger.info("- Test - str=" + str);
}
}
And this was raising an exception during runtime and the exception was raised at line
private static final Logger logger = Logger.getLogger(Hello.class);
Can any body please assist me. |
|
|
| |
|
|
|
 |
|
|
| |