You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Ron Grabowski (JIRA)" <ji...@apache.org> on 2008/01/31 06:59:34 UTC
[jira] Commented: (LOG4NET-140) Allow to set an all not appended
appender
[ https://issues.apache.org/jira/browse/LOG4NET-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564308#action_12564308 ]
Ron Grabowski commented on LOG4NET-140:
---------------------------------------
The default logger is the root logger. To keep messages out of root use the additivity property. In this example:
<logger name="NHibernate" additivity="false">
<level value="OFF" />
<appender-ref ref="NHibernateFileAppender" />
</logger>
All messages coming from the NHibernate namespace will be sent to the NHibernateFileAppender and not bubbled up into the root appender.
> Allow to set an all not appended appender
> -----------------------------------------
>
> Key: LOG4NET-140
> URL: https://issues.apache.org/jira/browse/LOG4NET-140
> Project: Log4net
> Issue Type: New Feature
> Components: Core
> Reporter: Steve Wagner
> Priority: Minor
>
> I use several appenders to split my logs into several log files. All whats not handled by a specific appender should log in a root logfile. But today all whats previously logged by a specific appender is also appended to the root appender. So it would be good if i could define a "log the rest" appender.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.