2a.adapter.xs2a-adapter-app.0.1.18-alpha-release-candidate.source-code.logback-spring.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml"/> <include resource="org/springframework/boot/logging/logback/console-appender.xml"/> <springProperty name="graylog.host" source="graylog.host"/> <springProperty name="graylog.port" source="graylog.port"/> <property name="CONSOLE_LOG_PATTERN" value="${CONSOLE_LOG_PATTERN:-%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}"/> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>${CONSOLE_LOG_PATTERN}</pattern> <charset>UTF-8</charset> </encoder> </appender> <appender name="GELF" class="de.siegmar.logbackgelf.GelfUdpAppender"> <graylogHost>${graylog.host}</graylogHost> <graylogPort>${graylog.port}</graylogPort> <encoder class="de.siegmar.logbackgelf.GelfEncoder"> <staticField>environment:integ</staticField> <staticField>application:xs2a-adapter</staticField> </encoder> </appender> <logger name="de.adorsys" additivity="false" level="INFO"> <appender-ref ref="GELF"/> <appender-ref ref="STDOUT"/> </logger> <root level="INFO"> <appender-ref ref="STDOUT"/> </root> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy