-
1. Re: Warning when use log4j
peterj Sep 7, 2007 11:09 AM (in response to changemylife)The warning you are getting, is it on the client or on the server? I am assuming client (that is where I usually get this error). This means that either the client itself, or one of the libraries it is using, does logging, but not logging configuration (whether properties or xml) was found. You can either ignore the warning message (I usually do), or supply a simple log4j.properties file for the client's use.
-
2. Re: Warning when use log4j
changemylife Sep 8, 2007 11:44 PM (in response to changemylife)Hi all!
Some warning that I received from client. But has a problem that I understand. If my client is EJB project, I will receive this warning. But if my client app is Java project, I not receive some warning! -
3. Re: Warning when use log4j
peterj Sep 9, 2007 11:37 PM (in response to changemylife)That makes perfect sense.
You need to satisfy three conditions to get this warning:
1) No log4j.properties or log5j.xml file
2) The lag4j.jar file in your classpath
3) Invoke a method that tried to log something
Apparently, when your client calls an EJB, all three conditions are satisfied. For other clients, one or more of these conditions is not satisfied (probably not methods are doing logging). -
4. Re: Warning when use log4j
changemylife Sep 10, 2007 3:00 AM (in response to changemylife)Hi all !
Thanks about your guides. I solved my problems.