Did you apply what I asked?
" As for your issue, move your log4j.properties file to src/test/resources."

With maven, only source code goes into src/*/java. .properties must be
inside src/*/resources.
Le 10 sept. 2013 07:31, "Gaurang shah" <[email protected]> a écrit :

> I don't think it is a maven question, as when i run project thorough maven
> i don't see any warning, however when i run though Jenkins then i see *log4j
> *warning and so many other logs and mention below
>
> Please guys let me know how to get rid of this warning and logs messages.
>
> log4j:WARN No appenders could be found for logger 
> (org.apache.commons.beanutils.converters.BooleanConverter).
> log4j:WARN Please initialize the log4j system properly.
>
> Executing Maven:  -B -f C:\Users\gaurang_shah\workspace\MavenTest\pom.xml 
> checkstyle:checkstyle test
>
> [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - 
> Scanning for projects...
> [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - 
> Scanning for projects...
>
> [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener
>
>
> ....
>
> ....
>
>
> Gaurang Shah
> Blog: qtp-help.blogspot.com
> Mobile: +91 738756556
>
>
> On Mon, Sep 9, 2013 at 1:36 AM, Baptiste Mathus <[email protected]> wrote:
>
>> 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 <[email protected]>
>>
>>>  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 [email protected].
>>>
>>> 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 a topic in the
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jenkinsci-users/kYcWTysgIok/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to