Permalink
Browse files

refine log configuration.

  • Loading branch information...
1 parent 3a41911 commit 78b17ece394b1c96425dccb10d94675573c896e1 @vmi committed Jan 24, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 run.sh
  2. +1 −0 src/shade/resources/logback.xml
  3. +1 −0 src/test/resources/logback-test.xml
View
@@ -26,6 +26,6 @@ do_script() {
esac
}
-do_script logs/$log_file java -jar target/selenese-runner.jar \
+do_script logs/$log_file java -Dsrj.log.level=DEBUG -jar target/selenese-runner.jar \
--config tools/run.config \
"$@"
@@ -7,6 +7,7 @@
<Pattern>[%fdate] [%level] %msg%n</Pattern>
</encoder>
</appender>
+ <logger name="jp.vmi.selenium" level="${srj.log.level:-INFO}"/>
<logger name="jp.vmi.selenium.selenese.inject" level="OFF" />
<root>
<level value="INFO" />
@@ -6,6 +6,7 @@
<Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%thread] %logger{36} [%level] %msg%n</Pattern>
</encoder>
</appender>
+ <logger name="jp.vmi.selenium" level="${srj.log.level:-INFO}"/>
<root>
<level value="INFO" />
<appender-ref ref="STDOUT" />

0 comments on commit 78b17ec

Please sign in to comment.