RE: NOONE TO ANSWER ?

2003-01-29 Thread Ashraf Fouad
yes, xx_log4j.properties is the properties file defined in my IDE classpath. I tried yr ways, and here is my results: 1- Trial of renaming the the file to log4j.properties (Didn't work) log4j:ERROR Could not read configuration file [log4j.properties]. java.io.FileNotFoundException: log4j.properti

RE: NOONE TO ANSWER ? sorry for the previous mail

2003-01-29 Thread Ashraf Fouad
yes, xx_log4j.properties is the properties file defined in my IDE classpath. I tried yr ways, and here is my results: 1- Trial of renaming the the file to log4j.properties (Didn't work): log4j:ERROR Could not read configuration file [log4j.properties]. java.io.FileNotFoundException: log4j.proper

Re: NOONE TO ANSWER ? sorry for the previous mail

2003-01-29 Thread Steve Ebersole
If #1 and #2 did not work, then the directory you think is in the classpath is in fact not in the classpath. When log4j initializes itself, it looks for a config file named lo4j.properties in the classpath. I would recheck what your IDE considers in the classpath versus not in the class path. It

RE: NOONE TO ANSWER ? sorry for the previous mail

2003-01-29 Thread Ashraf Fouad
Thankx too much for the reply - I'm using Oracle JDeveloper 9i release 3, the newest version of Oracle JDeveloper, I used the classpath settings several times without any complains. - I tried also IBM Visual Age for Java 3.5.3 with jdk 1.2.2 & Log4J 1.2.7 the latest also the same problem ?!?!?!?

Re: NOONE TO ANSWER ? sorry for the previous mail

2003-01-29 Thread Eduardo Ito
> - Original Message - > From: "Ashraf Fouad" <[EMAIL PROTECTED]> > To: "Log4J Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, January 29, 2003 4:58 AM > Subject: RE: NOONE TO ANSWER ? sorry for the previous mail > > > yes, xx_log4j.properties is the properties file defined in my IDE >

RE: NOONE TO ANSWER ? sorry for the previous mail

2003-01-29 Thread Ebersole, Steven
Sorry, don't know what to tell you then. I works fine for me both from within NetBeans (my IDE of choice) as well as from various command line scenarios (and I do not have to give a directory, just a path relative from the classpath). Sorry, I'm just not familiar enough with those IDEs you mentio

activate/ deactivate Logger with configuration file

2003-01-29 Thread Andreas Bröker
Hello, i hope this is now the right group. I want to solve the following problem. The thing i need is a different logger control. Now i use two logger to generate logging informations. My class looks like: ... Logger loggerOne = (Logger)getLogger(MyClass.class.getName()); Logger loggerTwo = (Logg

problems switching to Logger instead of category

2003-01-29 Thread Softwareentwicklung Hauschel
Hey all, i'm still using Category instead of Logger. I want to switch, but there are problems. These are my calls: --- Category cat = Category.getInstance("de.hauschel.wapen.struts.action.LogonAction"); cat.debug("debug...");

RE: activate/ deactivate Logger with configuration file

2003-01-29 Thread Lutz Michael
Andreas, My understanding is that Logger Levels are controlled by their name (the parameter passed to the getLogger method). It is possible to filter at the appender level, but appenders are attached to loggers and in your case they're the same name (because you're using the class name, which i