RE: Log4J Unix file logging problem

2004-02-26 Thread Ken . Liu
Title: Log4J Unix file logging problem Looks like your code is working as you said - you create a new file and an appender...but you never write to it...  :)   Can you show us the code that's doing the logging?   Ken -Original Message-From: NGOR Eric [mailto:[EMAIL PROT

RE: Log4J Unix file logging problem

2004-02-26 Thread NGOR Eric
Title: RE: Log4J Unix file logging problem Thanks for the reponse, I've juste found the mistake !!! I used commons.logging.Log and commons.logging.LogFactory instead of org.apache.log4j.Logger commons.logging.Log effectively reuse log4j loggers under windows but not under

Log4J Unix file logging problem

2004-02-26 Thread NGOR Eric
Title: Log4J Unix file logging problem Hello, I'm trying to log in a file under Linux (I'm the root) using a simple example. The problem is that Iog4j effectively creates the file, but doesn't write into it. Under windows, I don't have this problem using the same code.