blob: d6787bd275c4243232f7d065bcedc684ade3fef3 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001###
2# ============LICENSE_START=======================================================
3# PolicyEngineAPI
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.
26log4j.rootLogger=INFO, FILE
27
28# A1 is set to be a DailyRollingFileAppender.
29log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
30
31# Set the name of the file
Chou, Joseph (JC2555)80cbbc82018-04-02 14:11:34 -040032log4j.appender.FILE.File=${POLICY_LOGS}/policy/engineapi/policyEngineLog.log
Pamela Dragosh91d04c62017-02-14 19:41:00 -050033
34# Set the immediate flush to true (default)
35log4j.appender.FILE.ImmediateFlush=true
36
37# Set the threshold to debug mode
38log4j.appender.FILE.Threshold=debug
39
40# Set the append to false, should not overwrite
41log4j.appender.FILE.Append=true
42
43# Set the DatePattern
44log4j.appender.FILE.DatePattern='.'yyyy-MM-dd
45
46# A1 uses PatternLayout.
47log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
48log4j.appender.FILE.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n
49
50# For AstraGW feature.
Chou, Joseph (JC2555)80cbbc82018-04-02 14:11:34 -040051#log4j.appender.astra=org.apache.log4j.FileAppender
52#log4j.appender.astra.File=${POLICY_LOGS}/policy/astragw/astragw.log
53#log4j.appender.astra.layout=org.apache.log4j.PatternLayout
54#log4j.appender.astra.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n
55#log4j.category.astraLogger=TRACE, astra
56#log4j.additivity.astraLogger=false