Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeb Ford-Reitz2012-02-24 14:05:31 +0000
committerZeb Ford-Reitz2012-02-24 14:05:31 +0000
commite3e0e06cc558dfdc679fa18afbde878b86735fa0 (patch)
tree3314dd3010c294f64fe1becc64f68110feb93715 /org.eclipse.jubula.rc.swing/logback.xml
parent14c2ed2de4a03fd39da2339ac66d471a0b43b6e4 (diff)
downloadorg.eclipse.jubula.core-e3e0e06cc558dfdc679fa18afbde878b86735fa0.tar.gz
org.eclipse.jubula.core-e3e0e06cc558dfdc679fa18afbde878b86735fa0.tar.xz
org.eclipse.jubula.core-e3e0e06cc558dfdc679fa18afbde878b86735fa0.zip
Changes logging backend for rc.swing and rc.swt from JUL to Logback.
The JUL backend for SLF4J was removed with a previous commit, and no further backend was added. This was the cause of https://bxapps.bredex.de/bugzilla/show_bug.cgi?id=285. Adding the Logback backend should resolve the issue.
Diffstat (limited to 'org.eclipse.jubula.rc.swing/logback.xml')
-rw-r--r--org.eclipse.jubula.rc.swing/logback.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/org.eclipse.jubula.rc.swing/logback.xml b/org.eclipse.jubula.rc.swing/logback.xml
new file mode 100644
index 000000000..09980990b
--- /dev/null
+++ b/org.eclipse.jubula.rc.swing/logback.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration scan="false">
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <!-- encoders are by default assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+ <appender name="FILE" class="ch.qos.logback.core.FileAppender">
+ <file>${user.home}/.jubula/logs/rc_swing.log</file>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+ <root level="warn">
+ <appender-ref ref="FILE" />
+ </root>
+</configuration>

Back to the top