Created
April 15, 2020 02:12
-
-
Save nikhilsinha/39548c2481507aeeea6a2f750e7dd24f to your computer and use it in GitHub Desktop.
This file contains 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
<log4net> | |
<root> | |
<level value="ALL" /> | |
<appender-ref ref="file" /> | |
</root> | |
<appender name="file" type="log4net.Appender.RollingFileAppender"> | |
<file type="log4net.Util.PatternString" value="%envFolderPath{MyDocuments}\NWESG\GameLogs\log-%property{ATimeStamp}.log" /> | |
<appendToFile value="true" /> | |
<rollingStyle value="Size" /> | |
<maxSizeRollBackups value="5" /> | |
<maximumFileSize value="50MB" /> | |
<staticLogFileName value="true" /> | |
<layout type="log4net.Layout.PatternLayout"> | |
<conversionPattern value="%date [%thread] %level %logger - %message%newline" /> | |
</layout> | |
</appender> | |
</log4net> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment