any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject git commit: ANY23-156 Add logging dependencies and configuration to plugins, service and modules
Date Tue, 21 May 2013 19:06:17 GMT
Updated Branches:
  refs/heads/ANY23-156v2 [created] 8ebdd067e


ANY23-156 Add logging dependencies and configuration to plugins, service and modules


Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/8ebdd067
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/8ebdd067
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/8ebdd067

Branch: refs/heads/ANY23-156v2
Commit: 8ebdd067e4c06860c0c63c1f1e15cf1e1d3daf51
Parents: bbca626
Author: lewismc <lewis.mcgibbney@gmail.com>
Authored: Tue May 21 12:02:44 2013 -0700
Committer: lewismc <lewis.mcgibbney@gmail.com>
Committed: Tue May 21 12:02:44 2013 -0700

----------------------------------------------------------------------
 core/src/test/resources/log4j.properties           |   20 +++++++++++++++
 csvutils/pom.xml                                   |    7 +++++
 csvutils/src/test/resources/log4j.properties       |   20 +++++++++++++++
 mime/pom.xml                                       |    7 +++++
 mime/src/test/resources/log4j.properties           |   20 +++++++++++++++
 nquads/pom.xml                                     |    7 +++++
 nquads/src/test/resources/log4j.properties         |   20 +++++++++++++++
 .../src/test/resources/log4j.properties            |   20 +++++++++++++++
 service/src/test/resources/log4j.properties        |    2 +-
 9 files changed, 122 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/core/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/core/src/test/resources/log4j.properties b/core/src/test/resources/log4j.properties
new file mode 100644
index 0000000..4aa0d92
--- /dev/null
+++ b/core/src/test/resources/log4j.properties
@@ -0,0 +1,20 @@
+log4j.rootCategory=INFO, O  
+      
+# Stdout  
+log4j.appender.O=org.apache.log4j.ConsoleAppender  
+      
+# File  
+#log4j.appender.R=org.apache.log4j.RollingFileAppender  
+#log4j.appender.R.File=log4j.log  
+      
+# Control the maximum log file size  
+#log4j.appender.R.MaxFileSize=100KB  
+      
+# Archive log files (one backup file here)  
+log4j.appender.R.MaxBackupIndex=1  
+      
+log4j.appender.R.layout=org.apache.log4j.PatternLayout  
+log4j.appender.O.layout=org.apache.log4j.PatternLayout  
+      
+log4j.appender.R.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 
+log4j.appender.O.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/csvutils/pom.xml
----------------------------------------------------------------------
diff --git a/csvutils/pom.xml b/csvutils/pom.xml
index 90ff975..c2a9507 100644
--- a/csvutils/pom.xml
+++ b/csvutils/pom.xml
@@ -40,6 +40,13 @@
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-csv</artifactId>
     </dependency>
+    <!-- Logging -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>${slf4j.logger.version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/csvutils/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/csvutils/src/test/resources/log4j.properties b/csvutils/src/test/resources/log4j.properties
new file mode 100644
index 0000000..2a65ccf
--- /dev/null
+++ b/csvutils/src/test/resources/log4j.properties
@@ -0,0 +1,20 @@
+log4j.rootCategory=INFO, R, O  
+      
+# Stdout  
+log4j.appender.O=org.apache.log4j.ConsoleAppender  
+      
+# File  
+#log4j.appender.R=org.apache.log4j.RollingFileAppender  
+#log4j.appender.R.File=log4j.log  
+      
+# Control the maximum log file size  
+#log4j.appender.R.MaxFileSize=100KB  
+      
+# Archive log files (one backup file here)  
+log4j.appender.R.MaxBackupIndex=1  
+      
+log4j.appender.R.layout=org.apache.log4j.PatternLayout  
+log4j.appender.O.layout=org.apache.log4j.PatternLayout  
+      
+log4j.appender.R.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 
+log4j.appender.O.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/mime/pom.xml
----------------------------------------------------------------------
diff --git a/mime/pom.xml b/mime/pom.xml
index 751b174..e9439e4 100644
--- a/mime/pom.xml
+++ b/mime/pom.xml
@@ -86,6 +86,13 @@
       <version>${project.version}</version>
       <scope>runtime</scope>
     </dependency>
+    <!-- Logging -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>${slf4j.logger.version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/mime/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/mime/src/test/resources/log4j.properties b/mime/src/test/resources/log4j.properties
new file mode 100644
index 0000000..4aa0d92
--- /dev/null
+++ b/mime/src/test/resources/log4j.properties
@@ -0,0 +1,20 @@
+log4j.rootCategory=INFO, O  
+      
+# Stdout  
+log4j.appender.O=org.apache.log4j.ConsoleAppender  
+      
+# File  
+#log4j.appender.R=org.apache.log4j.RollingFileAppender  
+#log4j.appender.R.File=log4j.log  
+      
+# Control the maximum log file size  
+#log4j.appender.R.MaxFileSize=100KB  
+      
+# Archive log files (one backup file here)  
+log4j.appender.R.MaxBackupIndex=1  
+      
+log4j.appender.R.layout=org.apache.log4j.PatternLayout  
+log4j.appender.O.layout=org.apache.log4j.PatternLayout  
+      
+log4j.appender.R.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 
+log4j.appender.O.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/nquads/pom.xml
----------------------------------------------------------------------
diff --git a/nquads/pom.xml b/nquads/pom.xml
index 538e1b2..f462c1d 100644
--- a/nquads/pom.xml
+++ b/nquads/pom.xml
@@ -61,6 +61,13 @@
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
+    <!-- Logging -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>${slf4j.logger.version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/nquads/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/nquads/src/test/resources/log4j.properties b/nquads/src/test/resources/log4j.properties
new file mode 100644
index 0000000..4aa0d92
--- /dev/null
+++ b/nquads/src/test/resources/log4j.properties
@@ -0,0 +1,20 @@
+log4j.rootCategory=INFO, O  
+      
+# Stdout  
+log4j.appender.O=org.apache.log4j.ConsoleAppender  
+      
+# File  
+#log4j.appender.R=org.apache.log4j.RollingFileAppender  
+#log4j.appender.R.File=log4j.log  
+      
+# Control the maximum log file size  
+#log4j.appender.R.MaxFileSize=100KB  
+      
+# Archive log files (one backup file here)  
+log4j.appender.R.MaxBackupIndex=1  
+      
+log4j.appender.R.layout=org.apache.log4j.PatternLayout  
+log4j.appender.O.layout=org.apache.log4j.PatternLayout  
+      
+log4j.appender.R.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 
+log4j.appender.O.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/plugins/office-scraper/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/plugins/office-scraper/src/test/resources/log4j.properties b/plugins/office-scraper/src/test/resources/log4j.properties
new file mode 100644
index 0000000..4aa0d92
--- /dev/null
+++ b/plugins/office-scraper/src/test/resources/log4j.properties
@@ -0,0 +1,20 @@
+log4j.rootCategory=INFO, O  
+      
+# Stdout  
+log4j.appender.O=org.apache.log4j.ConsoleAppender  
+      
+# File  
+#log4j.appender.R=org.apache.log4j.RollingFileAppender  
+#log4j.appender.R.File=log4j.log  
+      
+# Control the maximum log file size  
+#log4j.appender.R.MaxFileSize=100KB  
+      
+# Archive log files (one backup file here)  
+log4j.appender.R.MaxBackupIndex=1  
+      
+log4j.appender.R.layout=org.apache.log4j.PatternLayout  
+log4j.appender.O.layout=org.apache.log4j.PatternLayout  
+      
+log4j.appender.R.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 
+log4j.appender.O.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
 

http://git-wip-us.apache.org/repos/asf/any23/blob/8ebdd067/service/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/service/src/test/resources/log4j.properties b/service/src/test/resources/log4j.properties
index 2a65ccf..4aa0d92 100644
--- a/service/src/test/resources/log4j.properties
+++ b/service/src/test/resources/log4j.properties
@@ -1,4 +1,4 @@
-log4j.rootCategory=INFO, R, O  
+log4j.rootCategory=INFO, O  
       
 # Stdout  
 log4j.appender.O=org.apache.log4j.ConsoleAppender  


Mime
View raw message