You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/04/04 22:31:01 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 ]

Ralph Goers updated LOG4NET-263:
--------------------------------

LOG4NET is now dormant.  

> 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
>            Priority: Major
>             Fix For: 1.2/2.0 Maintenance Release
>
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)