Created
July 30, 2024 01:42
-
-
Save PramodDutta/36ec0a2460e0ec796b7fe6b186a008b5 to your computer and use it in GitHub Desktop.
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> | |
| <Console name="Console" target="SYSTEM_OUT"> | |
| <PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1} - %m%n"/> | |
| </Console> | |
| <File name="FileLogger" fileName="logs/test.log"> | |
| <PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1} - %m%n"/> | |
| </File> | |
| </Appenders> | |
| <Loggers> | |
| <Root level="info"> | |
| <AppenderRef ref="Console"/> | |
| <AppenderRef ref="FileLogger"/> | |
| </Root> | |
| </Loggers> | |
| </Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment