Author: mes
Date: 2011-11-16 13:27:38 -0800 (Wed, 16 Nov 2011)
New Revision: 27501

Added:
   
core3/gui-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
Log:
added logging config

Added: 
core3/gui-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
===================================================================
--- 
core3/gui-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
                              (rev 0)
+++ 
core3/gui-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
      2011-11-16 21:27:38 UTC (rev 27501)
@@ -0,0 +1,42 @@
+# pax-logging configuration
+# author: Pasteur
+
+# The following specifies that log messages are sent to the Console and
+# status bar
+log4j.rootLogger=ALL, stdout, osgi:OrgCytoscapeLogSwingAdvancedAppender, 
osgi:OrgCytoscapeLogSwingSimpleAppender, 
osgi:OrgCytoscapeLogSwingStatusBarAppender
+
+#
+# Log messages from the standard library classes, JVM-specific 
+# classes, the OSGi framework, and the Spring framework will 
+# be written to a separate file to avoid message overload.
+# These messages are useful for debugging framework related
+# problems (e.g. why didn't my service get registered?), but
+# aren't (generally) relevant to Cytoscape operations.
+#
+# Messages include: 
+# java.*, javax.*, sun.*, and org.springframework.*.
+#
+
+log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.file.threshold=INFO
+log4j.appender.file.File=framework-cytoscape.log
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout.ConversionPattern=%t %p [%c] - %m%n
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.threshold=ERROR
+
+
+log4j.logger.java=NONE,file
+log4j.additivity.java=false
+
+log4j.logger.javax=NONE,file
+log4j.additivity.javax=false
+
+log4j.logger.sun=NONE,file
+log4j.additivity.sun=false
+
+log4j.logger.org.springframework=NONE,file
+log4j.additivity.org.springframework=false

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to