Hey Ron,
   I have already done the same and its working fine. Thanks anyway for 
the reply :)

Regards,
Raghunandan




Ron Grabowski <[EMAIL PROTECTED]> 
02/27/2008 01:16 PM
Please respond to
"Log4NET Dev" <[email protected]>


To
Log4NET Dev <[email protected]>
cc

Subject
Re: Logging into multiple log files






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 logs into 
different files.
Eg: 
Info logs should go into AppInfo.log 
Debug logs should go into AppDebug.log 
Error logs should go into ErrDebug.log

I am able to log into all these files. But the issue is all the types of 
logs are present in all the log files.
AppInfo.log is having info, debug and error logs. But I want only info 
logs into AppInfo.log file.

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

Regards,
Raghunandan S

Reply via email to