Hi,
I need help regarding the following problem.
I have the following Log4net Configuration file. The <logger name="LoggerProviderService"> section is not overriding the <root> section.
I have the following Log4net Configuration file. The <logger name="LoggerProviderService"> section is not overriding the <root> section.
The webservice i am using is taking the root <level value="DEBUG" /> and the root appenders which are console,smtp and RollingLogFileAppender.
I want my webservice to take <level value="FATAL" /> and console,smtp appenders.
I have used additivity = "false" still no use.
Is there any specific name i should give to logger tag<logger name="?">
Any furthur suggestions and comments are welcome.
Thanks in advance.
Note : I have included only part of the config file.
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<root>
<level value="DEBUG" />
<appender-ref ref="ConsoleAppender" />
<appender-ref ref="SmtpAppender" />
<appender-ref ref="RollingLogFileAppender" />
</root>
<logger name="LoggerProviderService">
<level value="FATAL" />
<appender-ref ref="ConsoleAppender" />
<appender-ref ref="SmtpAppender" />
</logger>
<level value="FATAL" />
<appender-ref ref="ConsoleAppender" />
<appender-ref ref="SmtpAppender" />
</logger>
</log4net>
</configuration>
</configuration>
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
