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
9 ~ http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 <!-- LOG DIRECTORIES -->
23 <property scope="context" name="logDir" value="logs"/>
24 <property scope="context" name="debugDir" value="debug-logs"/>
26 <!-- SETUP LOG DIRECTORIES -->
27 <property scope="context" name="logDirectory" value="${logDir}/${componentName}"/>
28 <property scope="context" name="debugLogDirectory" value="${debugDir}/${componentName}"/>
31 MODIFY LOG DIR ON WINDOWS OS SO THAT TEST LOGS ARE UNDER TARGET DIR CAN BE CLEANED AFTER TESTS AUTOMATICALLY
33 <property scope="context" name="modifyLogPathInWindows" value="true" />
34 <property scope="context" name="appendDirectory" value="target" />
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"/>
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"/>
47 <!-- ASYNC APPENDER DEFAULT SETTINGS -->
48 <property scope="context" name="queueSize" value="1024"/>
49 <property scope="context" name="maxFlushTime" value="5000"/>