dcsimg
How do I configure log4j in Weblogic 7.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Bob_Coss
Posted On:   Monday, November 25, 2002 03:09 PM

I am trying to install log4j in Weblogic 7. I can't seem to figure out the best way to install it.

Thanks in advance

Re: How do I configure log4j in Weblogic 7.

Posted By:   Michael_Canzoneri  
Posted On:   Tuesday, November 26, 2002 07:03 AM

What exactly are you trying to do? Are you trying to log info for a particular app? I am not an expert with Weblogic but I know log4j comes with Weblogic7.



I know on the project I am currently working on we include the log4j.jar into the WAR file when we build the app. That would be the way I would recommend but you could just add log4j into your classpath.



For instance, in the file setWLSEnv.cmd you can set the classpath. This is found in the bea/weblogic700/server/bin folder. The path should resemble the following:


CLASSPATH=%JAVA_HOME%lib ools.jar;%WL_HOME%serverlibweblogic_sp.jar;%WL_HOME%serverlibweblogic.jar;%CLASSPATH%



Add in your log4j.jar here



If anyone else has done anything with this let me know.



Hope this helps



Mike

About | Sitemap | Contact