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 "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2011/08/19 12:36:27 UTC

[jira] [Updated] (LOG4NET-263) add event before write to log to cancel or continue writing

     [ https://issues.apache.org/jira/browse/LOG4NET-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated LOG4NET-263:
-----------------------------------

    Affects Version/s:     (was: v.Next)

> add event before write to log to cancel or continue writing
> -----------------------------------------------------------
>
>                 Key: LOG4NET-263
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-263
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Core
>         Environment: .net
>            Reporter: caxey jones
>
> I have thread application and when error will write to log file. And need checking if same message, I dont want to write again in certain interval maybe 10 seconds.
> I think the possibility is to add OnWriting feature on log4net so developer have control to cancel or continue writing
> add event before write to log to cancel or continue writing. so in event argument we can set like this
> e.Cancel = true; to cancel writing to log.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira