You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Remko Popma <re...@gmail.com> on 2014/09/11 01:03:38 UTC

LOG4J2-807.log

One of the tests keeps creating a file LOG4J2-807.log in log4j-core/ during
the build.
Can this file be created in log4j-core/target instead?

Re: LOG4J2-807.log

Posted by Ralph Goers <ra...@dslextreme.com>.
Yes, everything created during the build should be in the target directory.

Sent from my iPhone

> On Sep 10, 2014, at 4:50 PM, Remko Popma <re...@gmail.com> wrote:
> 
> It's probably a junit test that doesn't explicitly create its log in ./target/ so it ends up in the current dir... 
> 
> Sent from my iPhone
> 
>> On 2014/09/11, at 8:30, Gary Gregory <ga...@gmail.com> wrote:
>> 
>> Lots of tests create lots of files, this must be an omission. It should also be cleaned up. We have code for that too.
>> 
>> G
>> 
>>> On Wed, Sep 10, 2014 at 7:03 PM, Remko Popma <re...@gmail.com> wrote:
>>> One of the tests keeps creating a file LOG4J2-807.log in log4j-core/ during the build.
>>> Can this file be created in log4j-core/target instead?
>> 
>> 
>> 
>> -- 
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
>> Java Persistence with Hibernate, Second Edition
>> JUnit in Action, Second Edition
>> Spring Batch in Action
>> Blog: http://garygregory.wordpress.com 
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory

Re: LOG4J2-807.log

Posted by Remko Popma <re...@gmail.com>.
It's probably a junit test that doesn't explicitly create its log in ./target/ so it ends up in the current dir... 

Sent from my iPhone

> On 2014/09/11, at 8:30, Gary Gregory <ga...@gmail.com> wrote:
> 
> Lots of tests create lots of files, this must be an omission. It should also be cleaned up. We have code for that too.
> 
> G
> 
>> On Wed, Sep 10, 2014 at 7:03 PM, Remko Popma <re...@gmail.com> wrote:
>> One of the tests keeps creating a file LOG4J2-807.log in log4j-core/ during the build.
>> Can this file be created in log4j-core/target instead?
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Re: LOG4J2-807.log

Posted by Gary Gregory <ga...@gmail.com>.
Lots of tests create lots of files, this must be an omission. It should
also be cleaned up. We have code for that too.

G

On Wed, Sep 10, 2014 at 7:03 PM, Remko Popma <re...@gmail.com> wrote:

> One of the tests keeps creating a file LOG4J2-807.log in log4j-core/
> during the build.
> Can this file be created in log4j-core/target instead?
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory