Set the level of the root logger to DEBUG then use LevelFilters to control the 
level of messages that go into each of the FileAppenders.

----- Original Message ----
From: Raghunandan S <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, February 21, 2008 5:30:16 AM
Subject: Logging into multiple log files


Hi,
  I have requirement, where-in I have to log different types of logsinto 
different files.
Eg: Info logs should go into AppInfo.logDebug logs should go into 
AppDebug.logError logs should go into ErrDebug.log
I am able to log into all these files. But the issue is all the types oflogs 
are present in all the log files.
AppInfo.log is having info, debug and error logs. But I want only infologs into 
AppInfo.log file.

I'm usinglog4net.dll ver 1.2.MS Visual Studio 2005
Please help to resolve this issue

Regards,
Raghunandan S


Reply via email to