Thanks for your response.

I have also log4j properties file in WEB-INF/classes of the war file,
which has following classpath.

 log4j.appender.Servlet.File=servlet.log

Properties file which is passed as a JAVA_ARGS has the different entry ,
which is given below

log4j.appender.Servlet.File=/log/CCAR_TRN1/sybnservlet/servlet.log

Do you think this is a root cause which does not allow to create the log
files.

Regards

Rajiv

-----Original Message-----
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 24, 2005 11:54 PM
To: Log4J Users List
Subject: Re: Log file does not gets created with log4j

At 09:08 AM 5/24/2005 -0500, you wrote:
 >You could try writing your log to the root for a start and work you
>way to the correct location.
 >
 >og4j.appender.Servlet.File=/servlet.log
 >

Why not start by simply making sure that logging is working at all using
a ConsoleAppender.  Is there any Log4j output?  If not, then you might
check whether the log4j.properties file passed "as JAVA_ARGS" is
actually getting discovered by Log4j.  Start simple.  Once that works,
you can add complexity as needed.

Jake

 >On 5/24/05, Ranjan, Rajiv <[EMAIL PROTECTED]> wrote:
 >> 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  >> >  >> >  >>  >>  >  >
 >--
 >James Stauffer
 >Are you good? Take the test at http://www.livingwaters.com/good/  >
 >---------------------------------------------------------------------
 >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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to