PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryRestApi/log4net.config

16 lines
555 B
Plaintext
Raw Normal View History

2024-05-05 03:45:20 +04:00
<?xml version="1.0" encoding="utf-8" ?>
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
2024-05-08 11:57:33 +04:00
<file value="c:/temp/ConfectioneryRestApi.log" />
2024-05-05 03:45:20 +04:00
<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="TRACE" />
<appender-ref ref="RollingFile" />
</root>
</log4net>