TheSundayDev commented on issue #153:
URL:
https://github.com/apache/logging-log4net/issues/153#issuecomment-2227122521
Thanks for your quick reply!
Reference to System.Configuration.ConfigurationManager added.
I created a app.config file in project root and mark as Embedded resource.
For sure I'm doing something wrong.
Content is
`<?xml version="1.0" encoding="utf-8" ?>
<configSections>
<section name="log4net"
type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<appender name="ConsoleAppender"
type="log4net.Appender.ConsoleAppender" >
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date| %level |
%message%newline" />
</layout>
</appender>
<root>
<level value="INFO" />
<appender-ref ref="ConsoleAppender" />
</root>
</log4net>`
thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]