> > log4j:WARN Failed to set property [file] to value "cactus_server.log".

This is the warning, it can't set cactus_server.log. This is only reference
in my log_server.properties file.

My log_client.properties looks like this

log4j.appender.cactus = org.apache.log4j.FileAppender
log4j.appender.cactus.File = cactus_client.log
log4j.appender.cactus.Append = false
log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
log4j.appender.cactus.layout.ConversionPattern = %d{ABSOLUTE} [%t] %-5p
%-30.30c{2} %x - %m %n

log4j.category.org.apache.cactus = DEBUG, cactus
log4j.rootCategory = DEBUG, cactus

BTW - I get a cactus_server.log file but not a cactus_client.log file - the
server log file appears in the directory from which I run the tests, should
I get a client log file there as well?

Kevin Jones
Developmentor
www.develop.com

> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]]
> Sent: 05 December 2001 17:31
> To: Cactus Users List
> Subject: Re: log4j warnings
>
>
> Hi Kevin,
>
> Where do you see these warnings, on the client side or on the
> server side. I
> guess they are on the client side, and maybe your
> log_client.properties file
> is not syntactically correct ? [the configuration you are showing below is
> for the server side].
>
> thanks
> -Vincent
>
> ----- Original Message -----
> From: "Kevin Jones" <[EMAIL PROTECTED]>
> To: "Cactus-User" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 05, 2001 10:44 AM
> Subject: log4j warnings
>
>
> > When I run cactus tests I'm seeing these warnings
> >
> > log4j:WARN Failed to set property [conversionPattern] to value "%r [%t]
> %-5p
> > %c{2} %x - %m %n". object is not an instance of declaring class
> > log4j:WARN Failed to set property [append] to value "false".
> object is not
> > an instance of declaring class
> > log4j:WARN Failed to set property [file] to value "cactus_server.log".
> > object is not an instance of declaring class
> > log4j:WARN File option not set for appender [cactus].
> > log4j:WARN Are you using FileAppender instead of ConsoleAppender?
> >
> > I'm using a standard log_server.properties file which looks like this
> >
> > log4j.appender.cactus=org.apache.log4j.FileAppender
> > log4j.appender.cactus.File=cactus_server.log
> > log4j.appender.cactus.Append=false
> > log4j.appender.cactus.layout=org.apache.log4j.PatternLayout
> > log4j.appender.cactus.layout.ConversionPattern=%r [%t] %-5p
> %c{2} %x - %m
> %n
> > log4j.category.org.apache.cactus=DEBUG, cactus
> > log4j.rootCategory=DEBUG, cactus
> >
> > The log file is being re-created each time (so the file name is
> being set
> > and append is being set to false each time).
> >
> > Anybody know what the warnings are about?
> >
> > Thanks,
> >
> > Kevin Jones
> > Developmentor
> > www.develop.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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

Reply via email to