Repository: incubator-stratos Updated Branches: refs/heads/master 5ba78e85e -> d912bf2db
removing unnecessary event trace logs Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/d912bf2d Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/d912bf2d Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/d912bf2d Branch: refs/heads/master Commit: d912bf2dbbcf500db74bb26ae5bb161b8849468e Parents: 5ba78e8 Author: Nirmal Fernando <[email protected]> Authored: Sat Mar 29 22:43:36 2014 +0530 Committer: Nirmal Fernando <[email protected]> Committed: Sat Mar 29 22:43:36 2014 +0530 ---------------------------------------------------------------------- .../modules/distribution/src/main/conf/log4j.properties | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/d912bf2d/products/stratos/modules/distribution/src/main/conf/log4j.properties ---------------------------------------------------------------------- diff --git a/products/stratos/modules/distribution/src/main/conf/log4j.properties b/products/stratos/modules/distribution/src/main/conf/log4j.properties index d531a06..5f6ff8f 100644 --- a/products/stratos/modules/distribution/src/main/conf/log4j.properties +++ b/products/stratos/modules/distribution/src/main/conf/log4j.properties @@ -167,6 +167,17 @@ log4j.appender.LOG_AGGREGATOR_FILE_APPENDER.Append=true log4j.appender.LOG_AGGREGATOR_FILE_APPENDER.layout=org.apache.log4j.PatternLayout log4j.appender.LOG_AGGREGATOR_FILE_APPENDER.layout.ConversionPattern=%m%n +# The event trace logger dumps enough information @INFO level, but maybe pushed upto TRACE. +# Writes only run-time/event processing time tracing/debug messages for event passing through trace +# enabled transport adapters event formatters, builders and processors. Enabling event tracing on these has a performance impact +log4j.category.EVENT_TRACE_LOGGER=INFO, EVENT_TRACE_APPENDER, EVENT_TRACE_MEMORYAPPENDER +log4j.additivity.EVENT_TRACE_LOGGER=false +log4j.appender.EVENT_TRACE_APPENDER=org.apache.log4j.DailyRollingFileAppender +log4j.appender.EVENT_TRACE_APPENDER.File=${carbon.home}/repository/logs/${instance.log}/wso2-cep-trace${instance.log}.log +log4j.appender.EVENT_TRACE_APPENDER.Append=true +log4j.appender.EVENT_TRACE_APPENDER.layout=org.apache.log4j.PatternLayout +log4j.appender.EVENT_TRACE_APPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n + # Appender config to send Atomikos transaction logs to new log file tm.out. log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender log4j.appender.ATOMIKOS.File = repository/logs/tm.out
