Maven question. Please better post on Maven users mailing list next time.

As for your issue, move your log4j.properties file to src/test/resources.

Cheers


2013/9/6 Gaurang shah <gaurangns...@gmail.com>

> Hi Guy,
>
> I have configured log4j in my project, however the problem is when i run
> that in jenkins i get following log4j jenkins. have i missed something in
> log4j.properties file or have i misplaced it ??
>
> I am using maven project.
> *Error Messages*
>
>
> log4j:WARN No appenders could be found for logger 
> (org.apache.commons.beanutils.converters.BooleanConverter).
>
> log4j:WARN Please initialize the log4j system properly.
>
> *Location of the log4j.properties -  *src\test\java
>
> *log4j.properties:*
> # Root logger option
> log4j.rootLogger=INFO, stdout
>
> # Direct log messages to stdout
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.Target=System.out
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss}
> %-5p %c{1}:%L - %m%n
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to