drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [1/2] git commit: Switch test log back to only utilize socket
Date Wed, 29 May 2013 20:28:25 GMT
Updated Branches:
  refs/heads/execwork b8db98ad7 -> ea5211111


Switch test log back to only utilize socket


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/87ab0720
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/87ab0720
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/87ab0720

Branch: refs/heads/execwork
Commit: 87ab0720e5d6bfb15e490fc1268f19d87a8464e8
Parents: b8db98a
Author: Jacques Nadeau <jacques@apache.org>
Authored: Wed May 22 08:06:28 2013 -0700
Committer: Jacques Nadeau <jacques@apache.org>
Committed: Wed May 22 08:06:28 2013 -0700

----------------------------------------------------------------------
 .../exec/java-exec/src/test/resources/logback.xml  |   59 ++++++---------
 1 files changed, 22 insertions(+), 37 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/87ab0720/sandbox/prototype/exec/java-exec/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/exec/java-exec/src/test/resources/logback.xml b/sandbox/prototype/exec/java-exec/src/test/resources/logback.xml
index 3af6e10..206a469 100644
--- a/sandbox/prototype/exec/java-exec/src/test/resources/logback.xml
+++ b/sandbox/prototype/exec/java-exec/src/test/resources/logback.xml
@@ -1,43 +1,28 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <configuration>
-<!-- 
-  <appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
-    <Compressing>true</Compressing> 
-    <ReconnectionDelay>10000</ReconnectionDelay>
-    <IncludeCallerData>true</IncludeCallerData>
-    <RemoteHosts>localhost</RemoteHosts>
-  </appender>
--->
- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
-    <encoder>
-      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
-    </encoder>
-  </appender>
+	<appender name="SOCKET"
+		class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
+		<Compressing>true</Compressing>
+		<ReconnectionDelay>10000</ReconnectionDelay>
+		<IncludeCallerData>true</IncludeCallerData>
+		<RemoteHosts>localhost</RemoteHosts>
+	</appender>
 
-<!-- 
-  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-    <file>/logs/test-common.log</file>
-    <encoder>
-      <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
-    </encoder>
-    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-	    <fileNamePattern>/logs/test-common.%d{yyyy-MM-dd}.log</fileNamePattern>
-	    <maxHistory>30</maxHistory>
-    </rollingPolicy>
-  </appender>
-  --> 
-  <logger name="org.apache.drill" additivity="false">
-    <level value="debug" />
-<!--     <appender-ref ref="SOCKET" /> -->
-    <appender-ref ref="STDOUT" />
-<!--     <appender-ref ref="FILE" /> -->
-  </logger>
+	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+		<encoder>
+			<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+			</pattern>
+		</encoder>
+	</appender>
 
-  <root>
-    <level value="error" />
-<!--     <appender-ref ref="SOCKET" /> -->
-    <appender-ref ref="STDOUT" />
-<!--     <appender-ref ref="FILE" /> -->
-  </root>
+	<logger name="org.apache.drill" additivity="false">
+		<level value="debug" />
+		<appender-ref ref="SOCKET" />
+	</logger>
+
+	<root>
+		<level value="error" />
+		<appender-ref ref="STDOUT" />
+	</root>
 
 </configuration>
\ No newline at end of file


Mime
View raw message