All,

The log4j framework doesn't seem to write to the logs when weblogic is run as 
windows service. As I understand, the two things needed for the log4j framework 
are:
- log4j.jar in classpath
- log4j.properties as -Dlog4j.configuration. It contains the necessary 
configuration for logging.

Both of the above mentioned artifacts are found correctly configured in the 
utilities that were used to create the windows service. I have used both bea 
provided utility and Java Service Wrapper from Tanuki Software. When weblogic 
is started after the service installation, log files that were supposed to be 
created by log4j don't appear. The ironic part is that when weblogic is started 
manually, the log files do appear. Is there a known workaround for this 
scenario? I appreciate any help.

Environment info:
OS - Windows 2000 server
JDK - 1.4.2
Weblogic - 8.1
log4j - 1.2.7

Thanks,
Abbas

Reply via email to