0

Currently reviewing the log4net configs we have and found our eventlog appender like so:

<appender name="EventLog" type="log4net.Appender.EventLogAppender">
  <fix value="None" /> <!-- performance boost -->
  [... etc ...]
</appender>

However, the only reference to this "fix" property I can find is from this discussion about the BufferingForwardingEventHandler where setting the value to "None" is shown to yield performance improvements.

Also the docs on EventLogAppender do not list such a property, like the docs on BufferingForwardingEventHandler.

So is this property simply meaningless for the EventLogAppender or does it serve some potentially undocumented function here as well?

alexleen
  • 125
  • 1
  • 2
  • 8
FrankyBoy
  • 1,865
  • 2
  • 18
  • 32

1 Answers1

0

I believe it's meaningless. There's no reference to FixFlags anywhere in the source for EventLogAppender.

It only appears in BufferingAppenderSkeleton, as you mentioned.

alexleen
  • 125
  • 1
  • 2
  • 8