| # |
| # Copyright (c) 2016 DataTorrent, Inc. ALL Rights Reserved. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # |
| |
| log4j.rootLogger=INFO,CONSOLE |
| |
| log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender |
| log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout |
| log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} %M - %m%n |
| |
| log4j.appender.malhar=org.apache.log4j.RollingFileAppender |
| log4j.appender.malhar.layout=org.apache.log4j.PatternLayout |
| log4j.appender.malhar.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} %M - %m%n |
| #log4j.appender.malhar.File=/tmp/app.log |
| |
| # to enable, add SYSLOG to rootLogger |
| log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender |
| log4j.appender.SYSLOG.syslogHost=127.0.0.1 |
| log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout |
| log4j.appender.SYSLOG.layout.conversionPattern=${dt.cid} %-5p [%t] %c{2} %x - %m%n |
| log4j.appender.SYSLOG.Facility=LOCAL1 |
| |
| #log4j.logger.org=info |
| #log4j.logger.org.apache.commons.beanutils=warn |
| log4j.logger.com.datatorrent=debug |