You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2018/02/02 13:45:00 UTC
[jira] [Closed] (SLING-6665) Provide a logging Option for Pax Exam
[ https://issues.apache.org/jira/browse/SLING-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oliver Lietz closed SLING-6665.
-------------------------------
> Provide a logging Option for Pax Exam
> -------------------------------------
>
> Key: SLING-6665
> URL: https://issues.apache.org/jira/browse/SLING-6665
> Project: Sling
> Issue Type: New Feature
> Components: Testing
> Affects Versions: Testing PaxExam 0.0.4
> Reporter: Oliver Lietz
> Assignee: Oliver Lietz
> Priority: Major
> Fix For: Testing PaxExam 1.0.0
>
>
> From {{ThymeleafTestSupport}}:
> {noformat}
> protected Option logging() {
> final String filename = String.format("file:%s/src/test/resources/logback.xml", PathUtils.getBaseDir());
> return composite(
> systemProperty("logback.configurationFile").value(filename),
> mavenBundle().groupId("org.slf4j").artifactId("slf4j-api").version("1.7.21"),
> mavenBundle().groupId("org.slf4j").artifactId("jcl-over-slf4j").version("1.7.21"),
> mavenBundle().groupId("ch.qos.logback").artifactId("logback-core").version("1.1.7"),
> mavenBundle().groupId("ch.qos.logback").artifactId("logback-classic").version("1.1.7")
> );
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)