summaryrefslogtreecommitdiffstats
path: root/OPENECOMP-DEMO/vm-config/vm-cdap-cluster/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'OPENECOMP-DEMO/vm-config/vm-cdap-cluster/log4j.properties')
-rw-r--r--OPENECOMP-DEMO/vm-config/vm-cdap-cluster/log4j.properties150
1 files changed, 150 insertions, 0 deletions
diff --git a/OPENECOMP-DEMO/vm-config/vm-cdap-cluster/log4j.properties b/OPENECOMP-DEMO/vm-config/vm-cdap-cluster/log4j.properties
new file mode 100644
index 0000000..7ceead4
--- /dev/null
+++ b/OPENECOMP-DEMO/vm-config/vm-cdap-cluster/log4j.properties
@@ -0,0 +1,150 @@
+#log4j.debug=0
+
+log4j.rootLogger=warn, file
+
+log4j.logger.org.openecomp.ncomp=info, file
+
+log4j.additivity.org.openecomp.ncomp=false
+
+
+
+#log4j.logger.org.apache.http.headers=debug, file
+
+#log4j.logger.org.apache.http.wire=debug, file
+
+## uploaded logger
+
+log4j.logger.org.openecomp.ncomp.sirius.manager.uploaded=info, uploaded
+
+log4j.additivity.org.openecomp.ncomp.sirius.manager.uploaded=false
+
+## request logging
+
+log4j.logger.org.openecomp.ncomp.sirius.manager.ManagementServer.requests=info, requests
+
+log4j.additivity.org.openecomp.ncomp.sirius.manager.ManagementServer.requests=false
+
+## openstack polling
+
+log4j.logger.org.openecomp.ncomp.openstack.OpenStackUtil.polling=info, polling
+
+log4j.additivity.org.openecomp.ncomp.openstack.OpenStackUtil.polling=false
+
+log4j.appender.file=org.apache.log4j.RollingFileAppender
+
+log4j.appender.file.File=logs/manager.log
+
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.file.layout.ConversionPattern=%d %5p [%t] %m %C:%L%n
+
+log4j.appender.file.MaxFileSize=50MB
+
+log4j.appender.file.MaxBackupIndex=5
+
+
+log4j.appender.uploaded=org.apache.log4j.RollingFileAppender
+
+log4j.appender.uploaded.File=logs/manager-uploaded.log
+
+log4j.appender.uploaded.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.uploaded.layout.ConversionPattern=%d %5p [%t] %m %C:%L%n
+
+log4j.appender.uploaded.MaxFileSize=50MB
+
+log4j.appender.uploaded.MaxBackupIndex=5
+
+
+log4j.appender.requests=org.apache.log4j.RollingFileAppender
+
+log4j.appender.requests.File=logs/manager-requests.log
+
+log4j.appender.requests.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.requests.layout.ConversionPattern=%d %5p [%t] %m %C:%L%n
+
+log4j.appender.requests.MaxFileSize=50MB
+
+log4j.appender.requests.MaxBackupIndex=5
+
+log4j.appender.polling=org.apache.log4j.RollingFileAppender
+
+log4j.appender.polling.File=logs/manager-polling.log
+
+log4j.appender.polling.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.polling.layout.ConversionPattern=%d %5p [%t] %m %C:%L%n
+
+log4j.appender.polling.MaxFileSize=50MB
+
+log4j.appender.polling.MaxBackupIndex=5
+
+
+### ECOMP Logging
+
+log4j.logger.org.openecomp.audit=info, audit
+
+log4j.additivity.org.openecomp.audit=false
+
+log4j.logger.org.openecomp.metrics=info, metrics
+
+log4j.additivity.org.openecomp.metrics=false
+
+log4j.logger.org.openecomp.error=info, error
+
+log4j.additivity.org.openecomp.error=false
+
+log4j.logger.com.att.eelf.debug=info, debug
+
+log4j.additivity.org.openecomp.debug=false
+
+log4j.appender.audit=org.apache.log4j.RollingFileAppender
+
+log4j.appender.audit.File=logs/audit.log
+
+log4j.appender.audit.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.audit.layout.ConversionPattern=%d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%t|%X{ServiceName}|%X{InstanceUUID}|%5p|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{Timer}|%m%n
+
+log4j.appender.audit.MaxFileSize=50MB
+
+log4j.appender.audit.MaxBackupIndex=5
+
+log4j.appender.metrics=org.apache.log4j.RollingFileAppender
+
+log4j.appender.metrics.File=logs/metrics.log
+
+log4j.appender.metrics.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.metrics.layout.ConversionPattern=%d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%t|%X{ServiceName}|%X{InstanceUUID}|%p|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{Timer}|%m%n
+
+log4j.appender.metrics.MaxFileSize=50MB
+
+log4j.appender.metrics.MaxBackupIndex=5
+
+log4j.appender.error=org.apache.log4j.RollingFileAppender
+
+log4j.appender.error.File=logs/error.log
+
+log4j.appender.error.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.error.layout.ConversionPattern=%d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%t|%X{ServiceName}|%X{InstanceUUID}|%p|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{Timer}|%m%n
+
+log4j.appender.error.MaxFileSize=50MB
+
+log4j.appender.error.MaxBackupIndex=5
+
+log4j.appender.debug=org.apache.log4j.RollingFileAppender
+
+log4j.appender.debug.File=logs/debug.log
+
+log4j.appender.debug.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.debug.layout.ConversionPattern=%d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%t|%X{ServiceName}|%X{InstanceUUID}|%p|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{Timer}|%m%n
+
+log4j.appender.debug.MaxFileSize=50MB
+
+log4j.appender.debug.MaxBackupIndex=5
+
+