I have a class which initializes my log4j. This code will never print or exit, I dont understand why.
public class MyLog
{
private static Logger log;
static
{
log = Logger.getRootLogger();
try
{
PropertyConfigurator.configure("somefileNameWhichDoesNotExist");
}
catch(Exception t)
{
System.out.println("oops logging cant be set, lets exit");
System.exit(0);
}