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 2017/03/18 16:18:41 UTC
[jira] [Created] (SLING-6665) Provide a logging Option for Pax Exam
Oliver Lietz created SLING-6665:
-----------------------------------
Summary: 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
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
(v6.3.15#6346)