'Declaration
Public Overloads Shared Sub AddAppenderToLogger( _ ByVal appenderName As String, _ ByVal loggerName As String _ )
public static void AddAppenderToLogger( string appenderName, string loggerName )
This will not clear out any existing appenders that may be configured for that logger, it will merely add it to the list. The only way to clear the appenders for a logger is to call ResetConfiguration and reconfigure all the loggers again.
To prepare a rolling file-based appender, see the AddLogFileAppender method.
NOTE: After you are finished configuring LogManager, you must call Reconfigure in order for the changes to fully take effect.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family