diff options
Diffstat (limited to 'pnda-ztt-app/src/universal/sparkStreaming/PndaZTTApp/log4j.properties')
-rw-r--r-- | pnda-ztt-app/src/universal/sparkStreaming/PndaZTTApp/log4j.properties | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pnda-ztt-app/src/universal/sparkStreaming/PndaZTTApp/log4j.properties b/pnda-ztt-app/src/universal/sparkStreaming/PndaZTTApp/log4j.properties new file mode 100644 index 0000000..6a3cab1 --- /dev/null +++ b/pnda-ztt-app/src/universal/sparkStreaming/PndaZTTApp/log4j.properties @@ -0,0 +1,13 @@ +log4j.rootLogger=ERROR,rolling +log4j.logger.com.cisco.pnda=${component.log_level},rolling +log4j.additivity.com.cisco.pnda=false +log4j.logger.com.cisco.ztt=DEBUG,rolling +log4j.additivity.com.cisco.ztt=false + +log4j.appender.rolling=org.apache.log4j.RollingFileAppender +log4j.appender.rolling.layout=org.apache.log4j.PatternLayout +log4j.appender.rolling.layout.conversionPattern=[%d] %p %m (%c)%n +log4j.appender.rolling.maxFileSize=50MB +log4j.appender.rolling.maxBackupIndex=1 +log4j.appender.rolling.file=${spark.yarn.app.container.log.dir}/spark.log +log4j.appender.rolling.encoding=UTF-8 |