I'd like to write log to 2 different log files from the same process.
is that possible thing to do using log4net?
I'll need to write separate messages to each log file. how can I write a message to a specific appender?
log4net
I'd like to write log to 2 different log files from the same process.
is that possible thing to do using log4net?
I'll need to write separate messages to each log file. how can I write a message to a specific appender?
Best Answer
These answers were helpful, but I wanted to share my answer with both the app.config part and the c# code part, so there is less guessing for the next person.
Then in code:
Here c:/Console.txt will contain "Processing" ... and \SummaryFile.log will contain "Processing2"