From 51edd5d4f67a3cc4f3075bd8a24bec88ef656a48 Mon Sep 17 00:00:00 2001 From: mka Date: Thu, 4 Apr 2013 13:16:49 +0000 Subject: [PATCH] New properties are added: log4j.logger.com.opensymphony.xwork2.util.OgnlUtil=error log4j.logger.com.opensymphony.xwork2.ognl.OgnlValueStack=error --- Workspace/Converter/src/log4j.properties | 43 +++++++++++++++++++ Workspace/Siman-Common/src/log4j.xml | 8 ++++ .../WebContent/WEB-INF/conf/log4j.properties | 3 ++ Workspace/Siman-WS/src/log4j.xml | 12 +++++- Workspace/Siman/conf/templates/log4j.xml | 8 ++++ Workspace/Siman/src/log4j.properties | 3 ++ 6 files changed, 75 insertions(+), 2 deletions(-) create mode 100644 Workspace/Converter/src/log4j.properties diff --git a/Workspace/Converter/src/log4j.properties b/Workspace/Converter/src/log4j.properties new file mode 100644 index 0000000..f215ca5 --- /dev/null +++ b/Workspace/Converter/src/log4j.properties @@ -0,0 +1,43 @@ +### direct log messages to stdout ### +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.Target=System.out +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n + +### set log levels - for more verbose logging change 'info' to 'debug' ### + +log4j.rootLogger=debug, stdout + +log4j.logger.org.hibernate=info +#log4j.logger.org.hibernate=debug + +### log HQL query parser activity +#log4j.logger.org.hibernate.hql.ast.AST=debug + +### log just the SQL +log4j.logger.org.hibernate.SQL=debug + +### log JDBC bind parameters ### +log4j.logger.org.hibernate.type=info + +### log schema export/update ### +log4j.logger.org.hibernate.tool.hbm2ddl=info + +### log HQL parse trees +#log4j.logger.org.hibernate.hql=debug + +### log cache activity ### +log4j.logger.org.hibernate.cache=info + +log4j.logger.com.opensymphony.xwork2.util.OgnlUtil=error +log4j.logger.com.opensymphony.xwork2.ognl.OgnlValueStack=error + +### log transaction activity +#log4j.logger.org.hibernate.transaction=debug + +### log JDBC resource acquisition +#log4j.logger.org.hibernate.jdbc=debug + +### enable the following line if you want to track down connection ### +### leakages when using DriverManagerConnectionProvider ### +#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace \ No newline at end of file diff --git a/Workspace/Siman-Common/src/log4j.xml b/Workspace/Siman-Common/src/log4j.xml index 2060ecf..7c1db31 100644 --- a/Workspace/Siman-Common/src/log4j.xml +++ b/Workspace/Siman-Common/src/log4j.xml @@ -89,6 +89,14 @@ + + + + + + + + diff --git a/Workspace/Siman-WS/WebContent/WEB-INF/conf/log4j.properties b/Workspace/Siman-WS/WebContent/WEB-INF/conf/log4j.properties index 2fa4429..5a65b5e 100644 --- a/Workspace/Siman-WS/WebContent/WEB-INF/conf/log4j.properties +++ b/Workspace/Siman-WS/WebContent/WEB-INF/conf/log4j.properties @@ -27,6 +27,9 @@ log4j.logger.de.hunsicker.jalopy.io=FATAL log4j.logger.httpclient.wire.header=FATAL log4j.logger.org.apache.commons.httpclient=FATAL +log4j.logger.com.opensymphony.xwork2.util.OgnlUtil=error +log4j.logger.com.opensymphony.xwork2.ognl.OgnlValueStack=error + # CONSOLE is set to be a ConsoleAppender using a PatternLayout. log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout diff --git a/Workspace/Siman-WS/src/log4j.xml b/Workspace/Siman-WS/src/log4j.xml index ac5ea0d..7907f58 100644 --- a/Workspace/Siman-WS/src/log4j.xml +++ b/Workspace/Siman-WS/src/log4j.xml @@ -3,8 +3,8 @@ - - + + @@ -54,6 +54,14 @@ + + + + + + + + diff --git a/Workspace/Siman/conf/templates/log4j.xml b/Workspace/Siman/conf/templates/log4j.xml index c65dc09..5c64ddd 100644 --- a/Workspace/Siman/conf/templates/log4j.xml +++ b/Workspace/Siman/conf/templates/log4j.xml @@ -63,6 +63,14 @@ + + + + + + + + diff --git a/Workspace/Siman/src/log4j.properties b/Workspace/Siman/src/log4j.properties index 12678cc..9200fa4 100644 --- a/Workspace/Siman/src/log4j.properties +++ b/Workspace/Siman/src/log4j.properties @@ -30,6 +30,9 @@ log4j.logger.org.hibernate.tool.hbm2ddl=info ### log cache activity ### log4j.logger.org.hibernate.cache=info +log4j.logger.com.opensymphony.xwork2.util.OgnlUtil=error +log4j.logger.com.opensymphony.xwork2.ognl.OgnlValueStack=error + ### log transaction activity #log4j.logger.org.hibernate.transaction=debug -- 2.39.2