Standalone TCA with EELF Logger
[dcaegen2/analytics/tca-gen2.git] / eelf-logger / eelf-logger-logback-impl / src / main / resources / eelf-defaults.xml
1 <!--
2   ~ ================================================================================
3   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4   ~ ================================================================================
5   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~      http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   ~ ============LICENSE_END=========================================================
17   ~
18   -->
19
20 <included>
21
22     <!-- LOG DIRECTORIES -->
23     <property scope="context" name="logDir" value="logs"/>
24     <property scope="context" name="debugDir" value="debug-logs"/>
25
26     <!-- SETUP LOG DIRECTORIES -->
27     <property scope="context" name="logDirectory" value="${logDir}/${componentName}"/>
28     <property scope="context" name="debugLogDirectory" value="${debugDir}/${componentName}"/>
29
30     <!--
31     MODIFY LOG DIR ON WINDOWS OS SO THAT TEST LOGS ARE UNDER TARGET DIR CAN BE CLEANED AFTER TESTS AUTOMATICALLY
32      -->
33     <property scope="context" name="modifyLogPathInWindows" value="true" />
34     <property scope="context" name="appendDirectory" value="target" />
35
36     <!-- LOG FILE NAMES -->
37     <property scope="context" name="metricLogName" value="metrics"/>
38     <property scope="context" name="auditLogName" value="audit"/>
39     <property scope="context" name="errorLogName" value="error"/>
40     <property scope="context" name="debugLogName" value="debug"/>
41
42     <!-- ROLLING FILE APPENDER DEFAULT SETTINGS -->
43     <property scope="context" name="minFileIndex" value="1"/>
44     <property scope="context" name="maxFileIndex" value="10"/>
45     <property scope="context" name="maxFileSize" value="2500KB"/>
46
47     <!-- ASYNC APPENDER DEFAULT SETTINGS -->
48     <property scope="context" name="queueSize" value="1024"/>
49     <property scope="context" name="maxFlushTime" value="5000"/>
50
51 </included>