[ 
https://issues.apache.org/jira/browse/ISIS-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604945#comment-16604945
 ] 

Gabriel Terwesten commented on ISIS-1979:
-----------------------------------------

After a bit of digging around, I found that there is a console appender 
attached to the root logger with name `null` in addition to the appender from 
`logging-integtest.properties`. This appender is created as a 
[fallback|https://github.com/apache/isis/blob/2fcfc93647a9a32401951b0f01676e9ed11a14dc/core/log4j/src/main/java/org/apache/isis/core/runtime/logging/IsisLoggingConfigurer.java#L110]
 when there is no `./logging.properties` file by 
[IsisSystem|https://github.com/apache/isis/blob/2fcfc93647a9a32401951b0f01676e9ed11a14dc/core/runtime/src/main/java/org/apache/isis/core/runtime/headless/IsisSystem.java#L213].
 Logging for integration tests is independently configured 
[here|https://github.com/apache/isis/blob/2fcfc93647a9a32401951b0f01676e9ed11a14dc/core/runtime/src/main/java/org/apache/isis/core/runtime/headless/HeadlessWithBootstrappingAbstract.java#L76].
 Hope that helps.

> Integration test logging includes a lot of log events twice.
> ------------------------------------------------------------
>
>                 Key: ISIS-1979
>                 URL: https://issues.apache.org/jira/browse/ISIS-1979
>             Project: Isis
>          Issue Type: Bug
>          Components: Archetype: SimpleApp
>    Affects Versions: 2.0.0-M1
>            Reporter: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M2
>
>
> As reported by Gabriel Terwesten <[email protected]> [1]
> During the bootstrapping of Isis for the integration test there seem to be 
> two appenders. The lines starting with the current time come from the 
> appender configured in `logging-integtest.properties`. I was not able to 
> understand where the second appender is configured. This is not a big problem 
> just a bit distracting.
> [1] 
> https://lists.apache.org/thread.html/cd92d8cd28ae877104fc965f83ca90b98e2e8188f464b65181e79a27@%3Cusers.isis.apache.org%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to