|
Akka/Scala example source code file (logback-test.xml)
The logback-test.xml Akka example source code<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%date{ISO8601} %-5level %logger %X{akkaSource} %X{sourceThread} - %msg%n</pattern> </encoder> </appender> <appender name="TEST" class="akka.event.slf4j.Slf4jLoggerSpec$TestAppender"> <encoder> <pattern>%date{ISO8601} level=[%level] logger=[%logger] akkaSource=[%X{akkaSource}] sourceThread=[%X{sourceThread}] mdc=[ticket-#%X{ticketNumber}: %X{ticketDesc}] - msg=[%msg]%n----%n</pattern> </encoder> </appender> <logger name="akka.event.slf4j.Slf4jLoggerSpec" level="info" additivity="false"> <appender-ref ref="TEST" /> </logger> <root level="info"> <appender-ref ref="STDOUT" /> </root> </configuration> Other Akka source code examplesHere is a short list of links related to this Akka logback-test.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.