Skip to content

justedlev/logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Logging

πŸ“ Logging

license stars issues

πŸ“‹ About

Logging configurations for Java

🧾 Example

Logback

Combined usage with πŸƒSpring Boot logback

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <include resource="org/springframework/boot/logging/logback/defaults.xml" />
    <include resource="io/justedlev/logging/logback/properties.xml"/>
    <include resource="io/justedlev/logging/logback/console-appender.xml" />
    <include resource="io/justedlev/logging/logback/file-appender.xml" />
    <include resource="io/justedlev/logging/logback/debug-file-appender.xml"/>

    <!-- Root Logger Configuration -->
    <root level="DEBUG">
        <appender-ref ref="STDOUT"/>
        <appender-ref ref="FILE"/>
        <appender-ref ref="DEBUG_FILE"/>
    </root>
</configuration>