Last active
          April 18, 2024 11:06 
        
      - 
      
 - 
        
Save YordanGeorgiev/44fdd32a789a3fae96de033f1050dc4d to your computer and use it in GitHub Desktop.  
    [minimal-logback.xml-example] how-to configure the logback.xml minimalistically #scala #xml #logback #logging #configuration
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!-- all you need to know about log levels src: https://i.stack.imgur.com/Z5mag.png --> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> | |
| <appender name="console" class="ch.qos.logback.core.ConsoleAppender"> | |
| <encoder> | |
| <pattern> %d{yyyy-MM-dd HH:mm:ss.SSS} [%level] %msg %n</pattern> | |
| </encoder> | |
| </appender> | |
| <appender name="async" class="ch.qos.logback.classic.AsyncAppender"> | |
| <appender-ref ref="console" /> | |
| </appender> | |
| <root level="DEBUG"> | |
| <appender-ref ref="async" /> | |
| </root> | |
| </configuration> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment