Hi,

I am facing issue when trying to use both RollingFileAppender and
ConsoleAppender in .net core log4net. We are launching a console
application (.net core 3.0) from apache server. When we are launching the
application from command prompt then everything works fine but when we
launch the application from server, the application hangs at log.info()
method after logging few lines.

When I remove the   ConsoleAppender from log4net.config and relaunch the
application from server then everything works perfectly.

So, I came to the conclusion that this problem is happening due to multi
appender use or some configuration issues.

Our requirement is to logging on both file and console.Please help or
suggest something to solve this problem.

Thanks
Shubham Jain

Attachment: log4net.config
Description: XML document

Reply via email to