SushiBarBase/SushiBar/SushiBarRestApi/log4net.config

16 lines
553 B
Plaintext
Raw Permalink Normal View History

2024-05-04 21:53:45 +04:00
<?xml version="1.0" encoding="utf-8" ?>
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="c:/temp/SushiBarRestApi.log" />
<appendToFile value="true" />
<maximumFileSize value="100KB" />
<maxSizeRollBackups value="2" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %5level %logger.%method [%line] - MESSAGE: %message%newline %exception" />
</layout>
</appender>
<root>
<level value="INFORMATION" />
<appender-ref ref="RollingFile" />
</root>
</log4net>