Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 64363 invoked from network); 2 Dec 2002 15:00:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Dec 2002 15:00:32 -0000 Received: (qmail 20129 invoked by uid 97); 2 Dec 2002 15:01:32 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@jakarta.apache.org Received: (qmail 20112 invoked by uid 97); 2 Dec 2002 15:01:32 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 20100 invoked by uid 98); 2 Dec 2002 15:01:31 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3B9299CBCFB4D41194E700B0D06865C7044C3ED2@hqexchange3.vignette.com> From: "Ebersole, Steven" To: "'Log4J Users List'" Subject: RE: weblogic6.1 & log4j Date: Mon, 2 Dec 2002 09:00:16 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 02 Dec 2002 15:00:10.0343 (UTC) FILETIME=[82730F70:01C29A13] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am also using WL under Solaris, so I'm pretty sure that that is not the problem. Are those first two lines valid inside the properties file? Especially, log4j.debug since it will look for that even prior to attempting to locate the config file. When you start weblogic, you should see some messages dumped to the console prefixed with LOG4J: Do you see these? What do they say? Also try removing the first 2 lines from the prop file; you can set them using java system properties as follows: java ... -D log4j.debug=true -D VASP_LOG_HOME=/vobs/vasp/log ... weblogic.Server in your startWebLogic.sh script. |-----Original Message----- |From: Yi Chen [mailto:yi.chen@verizon.com] |Sent: Monday, December 02, 2002 8:48 AM |To: Log4J Users List |Subject: RE: weblogic6.1 & log4j | | | |Steven, | |here is what my log4j is like: | |=========================================================== |================= |= |log4j.debug=true |# /vobs is a directory under the root of a unix file system |VASP_LOG_HOME=/vobs/vasp/log |log4j.rootLogger=DEBUG, DebugRootAppender, InfoRootAppender, |ErrorRootAppender |log4j.logger.net.veriaon.vasp=DEBUG, DebugRootAppender, |InfoRootAppender, |ErrorRootAppender | |# Set attributes for appender: DebugRootAppender |log4j.appender.DebugRootAppender=org.apache.log4j.RollingFi |leAppender |log4j.appender.DebugRootAppender.layout=org.apache.log4j.Pa |tternLayout |log4j.appender.DebugRootAppender.File=${VASP_LOG_HOME}/debug.log |log4j.appender.DebugRootAppender.MaxBackupIndex=19 |log4j.appender.DebugRootAppender.MaxFileSize=40MB |log4j.appender.DebugRootAppender.Threshold=DEBUG | |# Set attributes for appender: InfoRootAppender |log4j.appender.InfoRootAppender=org.apache.log4j.RollingFil |eAppender |log4j.appender.InfoRootAppender.layout=org.apache.log4j.Pat |ternLayout |log4j.appender.InfoRootAppender.File=${VASP_LOG_HOME}/info.log |log4j.appender.InfoRootAppender.MaxBackupIndex=9 |log4j.appender.InfoRootAppender.MaxFileSize=20MB |log4j.appender.InfoRootAppender.Threshold=INFO | |# Set attributes for appender: ErrorRootAppender |log4j.appender.ErrorRootAppender=org.apache.log4j.RollingFi |leAppender |log4j.appender.ErrorRootAppender.layout=org.apache.log4j.Pa |tternLayout |log4j.appender.ErrorRootAppender.File=${VASP_LOG_HOME}/error.log |log4j.appender.ErrorRootAppender.MaxBackupIndex=9 |log4j.appender.ErrorRootAppender.MaxFileSize=4MB |log4j.appender.ErrorRootAppender.Threshold=ERROR | |=========================================================== |================= |== | |I put log4j-1.2.7.jar and log4j.properties in the same directory |(bea/wlserver6.1/lib/vasp) and this directory itself is |also added as |classpath. It didn't have problem finding this property |file. I did some |search over the internet and it seems like log4j has |problem loging stuff |under wl6.1 and solaris OS according to several findings. |What's your OS? | |Thanks, | |Yi | | |-----Original Message----- |From: Ebersole, Steven [mailto:steven.ebersole@vignette.com] |Sent: Saturday, November 30, 2002 1:46 PM |To: 'Log4J Users List' |Subject: RE: weblogic6.1 & log4j | | |I use log4j along with weblogic (6.1 through 6.1 sp3) with |no problems. | |I too, have log4j.properties on the WL server classpath |(as well as the |log4j.jar file). Where is your log4j.jar file? Are you |using any other |components which might be using log4j(there are quite a |few libraries |nowadays which use log4j for logging)? What does your |log4j.properties file |look like? | | | | |-----Original Message----- | |From: Yi Chen [mailto:yi.chen@verizon.com] | |Sent: Friday, November 29, 2002 10:22 AM | |To: log4j-user@jakarta.apache.org | |Subject: weblogic6.1 & log4j | | | | | |Do we have anyone is this list using log4j for weblogic6.1 | |based web | |application? I found something strange: the logger | |(created in a jsp page) | |can write to the weblogic console even I didn't config the | |console appender | |in log4j.propertiesl and I don't see any output to the | |assigned log file. By | |the way, I put log4j.properties in weblogic classpath. Any | |information will | |be appreciated. | | | |Thanks, | | | |Yi | | | | | | | |-- | |To unsubscribe, e-mail: | | | |For additional commands, e-mail: | | | | | |-- |To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: