diff options
Diffstat (limited to 'datarouter-node/src/main/resources/misc/log4j.properties.tmpl')
-rw-r--r-- | datarouter-node/src/main/resources/misc/log4j.properties.tmpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/datarouter-node/src/main/resources/misc/log4j.properties.tmpl b/datarouter-node/src/main/resources/misc/log4j.properties.tmpl new file mode 100644 index 00000000..24bd3df0 --- /dev/null +++ b/datarouter-node/src/main/resources/misc/log4j.properties.tmpl @@ -0,0 +1,11 @@ +cat <<!EOF +log4j.debug=FALSE +log4j.rootLogger=INFO,Root + +log4j.appender.Root=org.apache.log4j.DailyRollingFileAppender +log4j.appender.Root.file=${DRTR_NODE_LOGS:-logs}/node.log +log4j.appender.Root.datePattern='.'yyyyMMdd +log4j.appender.Root.append=true +log4j.appender.Root.layout=org.apache.log4j.PatternLayout +log4j.appender.Root.layout.ConversionPattern=%d %p %m%n +!EOF |