Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # ONAP-XACML |
| 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 | # Set root logger level to DEBUG and its only appender to A1. |
| 26 | log4j.rootLogger=INFO, MAIN_LOG |
| 27 | |
| 28 | # A1 is set to be a ConsoleAppender. |
| 29 | log4j.appender.MAIN_LOG=org.apache.log4j.ConsoleAppender |
| 30 | |
| 31 | # A1 uses PatternLayout. |
| 32 | log4j.appender.MAIN_LOG.layout=org.apache.log4j.PatternLayout |
| 33 | log4j.appender.MAIN_LOG.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n |
| 34 | |
| 35 | # |
| 36 | # This is specifically for Xacml request/response logging |
| 37 | # |
| 38 | log4j.logger.xacml.request=INFO, REQUEST_LOG |
| 39 | |
| 40 | log4j.appender.REQUEST_LOG=org.apache.log4j.ConsoleAppender |
| 41 | log4j.appender.REQUEST_LOG.layout=org.apache.log4j.PatternLayout |
| 42 | log4j.appender.REQUEST_LOG.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} %m%n |