Just to confirm... ../ Does that work in file paths?
-----Original Message----- From: Aron Bock [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 8:42 AM To: log4j-user@logging.apache.org Subject: RE: Log file does not gets created with log4j Rajiv, I don't know the construct "log4j.appender.Servlet...", but I believe filepath indicated should either be absolute (i.e. starting from root), or if relative will be taken to mean as relative from the start-dir of the web server/servlet container. If you want logs placed relative to your app ... I've seen at least one post of somebody who did that in a webapp by having an initialisation Servlet do it dynamically. Regards, --A >From: "Ranjan, Rajiv" <[EMAIL PROTECTED]> >Reply-To: "Log4J Users List" <log4j-user@logging.apache.org> >To: <log4j-user@logging.apache.org> >Subject: Log file does not gets created with log4j >Date: Tue, 24 May 2005 03:12:54 -0500 > >Logs file does not gets created on the given location in log4j >properties file. > >log4j.appender.Servlet.File=/log/CCAR_TRN1/sybnservlet/servlet.log > >I have log4j.jar file in the weblogic server classpath, also passed >log4j.properties file as JAVA_ARGS. > >Still not working. > >Any help will be appreciated. > >Thanks > >Rajiv Ranjan > > EDS-Electronics Data Systems (India) > > _______________________________ > > DLF Plaza Tower, DLF City Phase - I, > > Gurgaon - 122002, Haryana, India > > *: +91-124-519-7716 > > Mobile: +91-9811860047 >pager: [EMAIL PROTECTED] > > email : [EMAIL PROTECTED] > > Jabber IM: [EMAIL PROTECTED] > > web: www.eds.com > > > > _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]