Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame^] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # Integrity Monitor |
| 4 | # ================================================================================ |
| 5 | # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | # ================================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============LICENSE_END========================================================= |
| 19 | ### |
| 20 | |
| 21 | # |
| 22 | # Use this properties for debugging and development. |
| 23 | # |
| 24 | # |
| 25 | # For debug output, set root logger level to DEBUG and output to FILE and CONSOLE |
| 26 | #log4j.rootLogger=DEBUG, FILE, CONSOLE |
| 27 | log4j.rootLogger=INFO, FILE, CONSOLE |
| 28 | |
| 29 | # A1 is set to be a DailyRollingFileAppender. |
| 30 | log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender |
| 31 | |
| 32 | # Set the name of the file |
| 33 | log4j.appender.FILE.File=IntegrityMonitor.log |
| 34 | |
| 35 | # Set the immediate flush to true (default) |
| 36 | log4j.appender.FILE.ImmediateFlush=true |
| 37 | |
| 38 | # Set the threshold to debug mode |
| 39 | log4j.appender.FILE.Threshold=debug |
| 40 | |
| 41 | # Set the append to false, should not overwrite |
| 42 | log4j.appender.FILE.Append=true |
| 43 | |
| 44 | # Set the DatePattern |
| 45 | log4j.appender.FILE.DatePattern='.'yyyy-MM-dd |
| 46 | |
| 47 | # A1 uses PatternLayout. |
| 48 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout |
| 49 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n |
| 50 | |
| 51 | # for Developments and Debugging |
| 52 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender |
| 53 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout |
| 54 | log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n |