Stop Java Logger writing the calling Class?
All,
I have written a simple class that user the java logger to write to a file. The problem I have is that because the logger is always called from the same class, every other line reads the same. for example, the output might be:
03-Apr-2011 17:37:16 org.mymodule.LibLog.LibLog writeMessage
INFO: 2011-04-03 17:37:16 Logger created
03-Apr-2011 17:37:16 org.mymodule.LibLog.LibLog writeMessage
INFO: 2011-04-03 17:37:16 Conductor loaded
03-Apr-2011 17:37:16 org.mymodule.LibLog.LibLog writeMessage
INFO: 2011-04-03 17:37:16 Creating a Pooling object
03-Apr-2011 17:37:16 org.mymodule.LibLog.LibLog writeMessage
INFO: 2011-04-03 17:37:16 Entered the Pooling module
Is there a way to stop logger writing that out?
Many thanks for your time
Matt