You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Thomas Saxtoft <TS...@sondagsavisen.dk> on 2002/09/20 11:27:35 UTC

Excuse me for still bothering

Hi again

I am very grateful for the help I have got until now. Now I am able to
locate the properties file, and it works fine.
But unfortunately all of my problems are not solved yet.

I run log4j together with Orion in two ways. In a command line and
embedded with Intellij IDEA. I only have the problems running in the
command line.

Using the command line the output to the console looks like this:
	ERROR DebtorDAO.getDataRecords(?:?) : Test
While in IDEA it looks like this:
	ERROR DebtorDAO.getDataRecords(DebtorDAO.java:1241) : Test

So obviously something here is different.


Another problem is that using a class (that is Serializable) containing
a Logger, causes a NullPointerException when I run Orion from the
Command Line, while it works fine when Orion is run from within IDEA.

My class looks like this:
	public class DataRecord implements Serializable {
	  static Logger logger = Logger.getLogger(DataRecord.class);
	  ...
	}

I run everything on Windows 2000.

I hope some of you are able to help. On before hand thank you.

Thomas Saxtoft

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>