Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EventLogAppender.LogName Property

The name of the log where messages will be stored.

[Visual�Basic]
Public�Property�LogName�As�String
[C#]
public�string�LogName�{get;�set;}

Property Value

The string name of the log where messages will be stored.

Remarks

This is the name of the log as it appears in the Event Viewer tree. The default value is to log into the Application log, this is where most applications write their events. However if you need a separate log for your application (or applications) then you should set the LogName appropriately.

This should not be used to distinguish your event log messages from those of other applications, the ApplicationName property should be used to distinguish events. This property should be used to group together events into a single log.

See Also

EventLogAppender Class | log4net.Appender Namespace