Jim Hahn | 28238bc | 2018-11-15 08:00:24 -0500 | [diff] [blame^] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | PolicyEngineAPI |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2018 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 | <configuration> |
| 22 | <property name="defaultPattern" |
| 23 | value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX, UTC}|%X{requestId}|%X{serviceInstanceId}|%t|%X{serverName}|%X{serviceName}|%X{instanceUuid}|%p|%X{severity}|%X{serverIpAddress}|%X{server}|%X{clientIpAddress}|%c||%msg%n" /> |
| 24 | |
| 25 | <!-- Example evaluator filter applied against console appender --> |
| 26 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 27 | <encoder> |
| 28 | <pattern>${defaultPattern}</pattern> |
| 29 | </encoder> |
| 30 | </appender> |
| 31 | |
| 32 | <!-- ============================================================================ --> |
| 33 | <!-- EELF loggers --> |
| 34 | <!-- ============================================================================ --> |
| 35 | |
| 36 | <logger name="com.att.eelf.audit" level="info" additivity="false"> |
| 37 | <appender-ref ref="STDOUT" /> |
| 38 | </logger> |
| 39 | <logger name="com.att.eelf.metrics" level="info" additivity="false"> |
| 40 | <appender-ref ref="STDOUT" /> |
| 41 | </logger> |
| 42 | <logger name="com.att.eelf.error" level="info" additivity="false"> |
| 43 | <appender-ref ref="STDOUT" /> |
| 44 | </logger> |
| 45 | <logger name="com.att.eelf.debug" level="info" additivity="false"> |
| 46 | <appender-ref ref="STDOUT" /> |
| 47 | </logger> |
| 48 | |
| 49 | |
| 50 | <root level="INFO"> |
| 51 | <appender-ref ref="STDOUT" /> |
| 52 | </root> |
| 53 | |
| 54 | </configuration> |