Created
          July 27, 2015 09:35 
        
      - 
      
- 
        Save nulpatrol/b44e0c17188b3bbf5248 to your computer and use it in GitHub Desktop. 
    Log4j version 2 config
  
        
  
    
      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
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <Configuration status="WARN"> | |
| <Appenders> | |
| <File name="console" filename="log/console.log" immediateFlush="true"> | |
| <PatternLayout pattern="[%d{dd/MM/YYYY HH:mm:ss}]%n%msg%n" /> | |
| <ThresholdFilter level="ERROR" onMatch="ACCEPT" onMismatch="DENY" /> | |
| </File> | |
| <File name="requests" filename="log/requests.log" immediateFlush="true"> | |
| <PatternLayout pattern="%d{dd/MM/YYYY HH:mm:ss} - %msg%n" /> | |
| <ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY" /> | |
| </File> | |
| </Appenders> | |
| <Loggers> | |
| <Root level="error"> | |
| <AppenderRef ref="console" /> | |
| </Root> | |
| <Logger name="requests" level="info"> | |
| <AppenderRef ref="requests" /> | |
| </Logger> | |
| </Loggers> | |
| </Configuration> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment