ad.road-offramp-app.6.0.2.source-code.logback-spring.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of road-offramp-app Show documentation
Show all versions of road-offramp-app Show documentation
Spring Boot application of the Offramp service of Data Highway
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2016-2019 Expedia Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <configuration> <springProfile name="cwlogging"> <appender name="AWS_LOGS" class="com.lightstreamer.cloudwatch.logback.appender.AwsLogsJsonAppender"> <awsRegionName>${CLOUDWATCH_REGION}</awsRegionName> <logGroupName>${CLOUDWATCH_GROUP}</logGroupName> <logStreamName>${CLOUDWATCH_STREAM}</logStreamName> </appender> </springProfile> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d [%thread] %-5level %logger{35} - %msg %n</pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="STDOUT" /> <springProfile name="cwlogging"> <appender-ref ref="AWS_LOGS" /> </springProfile> </root> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy