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/08/24 19:17:44 UTC

[jira] Resolved: (LOG4NET-155) Add TimeEvaluator

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

Ron Grabowski resolved LOG4NET-155.
-----------------------------------

    Resolution: Fixed

Fixed in r688531.

> Add TimeEvaluator
> -----------------
>
>                 Key: LOG4NET-155
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-155
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Robert Sevcik
>            Assignee: Ron Grabowski
>            Priority: Minor
>             Fix For: 1.2.11
>
>         Attachments: log4net.Core.TimeEvaluator.cs
>
>
> Hello,
> I'd like to submit this class. I find it handy together with RemotingAppender (or buffering appenders generally) where we don't want to send synchronously, but still want to have some timely feedback from the sites even if there is little logging.
> A sample configuration would be:
>     <appender name="RemotingAppender" type="log4net.Appender.RemotingAppender">
>       <param name="Sink" value="tcp://localhost:11111/LoggingSink" />
>       <param name="Lossy" value="false" />
>       <param name="BufferSize" value="500" />
>       <param name="Fix" value="Partial" />
>       <evaluator type="log4net.Core.TimeEvaluator">
>         <threshold value="60"/>
>       </evaluator>
>     </appender>
> I've taken the existing LevelEvaluator from Nicko Cadell as a template to build this class.
> I've tried it and it worked, but haven't done any further testing.
> Best regards and thanks for the great works!
> Robert.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.