All Downloads are FREE. Search and download functionalities are using the official Maven repository.

co.elastic.logging.logback.boot.ecs-console-appender.xml Maven / Gradle / Ivy

There is a newer version: 1.36.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<!--
ECS JSON console appender logback configuration provided for import, similar to the console-appender.xml included in Spring Boot
<include resource="co/elastic/logging/logback/boot/ecs-console-appender.xml" />
-->

<included>
    <springProperty name="SERVICE_NAME" source="spring.application.name"/>
    <appender name="ECS_JSON_CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
        <encoder class="co.elastic.logging.logback.EcsEncoder">
            <serviceName>${SERVICE_NAME:-spring-boot-application}</serviceName>
        </encoder>
    </appender>
</included>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy