Fix gis-client logging

Project: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/commit/259bed3b
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/tree/259bed3b
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/diff/259bed3b

Branch: refs/heads/taverna2
Commit: 259bed3b126373c3ec41e8ef6b482e3c448d7767
Parents: b3cc4b2
Author: edikaradumi <[email protected]>
Authored: Wed Aug 3 05:31:01 2016 +0100
Committer: edikaradumi <[email protected]>
Committed: Wed Aug 3 05:31:01 2016 +0100

----------------------------------------------------------------------
 .../conf/log4j.properties                       | 45 ++++++++++++++++++++
 apache-taverna-plugin-gis-client/pom.xml        | 24 +++++++----
 2 files changed, 60 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/blob/259bed3b/apache-taverna-plugin-gis-activity-ui/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/apache-taverna-plugin-gis-activity-ui/conf/log4j.properties 
b/apache-taverna-plugin-gis-activity-ui/conf/log4j.properties
new file mode 100644
index 0000000..ec00759
--- /dev/null
+++ b/apache-taverna-plugin-gis-activity-ui/conf/log4j.properties
@@ -0,0 +1,45 @@
+# Taverna logger settings
+
+# By default, WARN (our external libraries)
+log4j.rootLogger=WARN, CONSOLE
+
+# Log INFO from anything Taverna
+log4j.logger.net.sf.taverna.t2=INFO
+
+
+# Log INFO from anything external tool
+log4j.logger.de.uni_luebeck.inb.knowarc=INFO
+
+# Uncomment to debug WSDL/SOAP messages:
+#log4j.logger.org.apache.axis.transport.http.HTTPSender=DEBUG
+
+
+# Uncomment and edit for more debugging for a specific class/package  
+#log4j.logger.net.sf.taverna.t2.ui=DEBUG
+
+# Restrict logging from classes that like to complain a lot
+log4j.logger.net.sf.taverna.raven=WARN
+log4j.logger.net.sf.taverna.t2.workbench.configuration.ConfigurationManager=WARN
+log4j.logger.net.sf.taverna.t2.workbench.views.graph.GraphViewComponent=WARN
+log4j.logger.net.sf.taverna.t2.workbench.ui.impl.WorkbenchPerspectives=WARN
+log4j.logger.net.sf.taverna.t2.workbench.ui.impl.DataflowEditsListener=WARN
+log4j.logger.net.sf.taverna.t2.workbench.ui.views.contextualviews.annotated.AnnotatedContextualView=WARN
+log4j.logger.net.sf.taverna.t2.workbench.ui.workflowview.WorkflowView=WARN
+log4j.logger.net.sf.taverna.t2.ui.menu.impl.MenuManagerImpl=ERROR
+log4j.logger.net.sf.taverna.t2.provenance.lineageservice.ProvenanceAnalysis=WARN
+log4j.logger.org.apache.commons.httpclient=ERROR
+
+
+# Default output to console is quite restrictive
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %d{ISO8601} (%c:%L) - %m%n
+# Output WARN and above to console - 
+log4j.appender.CONSOLE.Threshold=WARN
+
+
+# Note: A RollingFileAppender is added programmatically
+# by net.sf.taverna.raven.appconfig.config.Log4JConfiguration
+# - it has a Threshold level of ALL, meaning that if you enable 
+# DEBUG logging above, it will go into the log files in
+# Taverna's home directory. See Advanced->Show log folder in Taverna.

http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/blob/259bed3b/apache-taverna-plugin-gis-client/pom.xml
----------------------------------------------------------------------
diff --git a/apache-taverna-plugin-gis-client/pom.xml 
b/apache-taverna-plugin-gis-client/pom.xml
index 53e75a5..a245d6e 100644
--- a/apache-taverna-plugin-gis-client/pom.xml
+++ b/apache-taverna-plugin-gis-client/pom.xml
@@ -17,20 +17,26 @@
     limitations under the License.
 
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
                <groupId>org.apache.taverna2.gis</groupId>
                <artifactId>apache-taverna2-plugin-gis</artifactId>
                <version>0.0.1-incubating-SNAPSHOT</version>
-  </parent>
-  <artifactId>apache-taverna2-plugin-gis-client</artifactId>
-  <name>Gis Taverna Client</name>
-  <dependencies>
-               <dependency>
+       </parent>
+       <artifactId>apache-taverna2-plugin-gis-client</artifactId>
+       <name>Gis Taverna Client</name>
+       <dependencies>
+               <dependency>
                        <groupId>org.n52.wps</groupId>
                        <artifactId>52n-wps-client-lib</artifactId>
                        <version>3.5.0</version>
                </dependency>
-  </dependencies>
+               <dependency>
+                       <groupId>log4j</groupId>
+                       <artifactId>log4j</artifactId>
+                       <version>1.2.17</version>
+               </dependency>
+       </dependencies>
 </project>

Reply via email to