What happens to the output to a log4net console appender in a Windows service?

Posted by uriDium on Stack Overflow See other posts from Stack Overflow or by uriDium
Published on 2010-03-08T11:29:09Z Indexed on 2010/03/08 11:36 UTC
Read the original article Hit count: 391

Filed under:
|
|

I have a console project that I have been working on. I added log4net to handle all my logging. In some places I have made use of the console appender. When I turn this application into a Windows Service should I just remove the console appender or what happens to that output? Does it just get lost?

I would like to keep it if all possible because if I run it straight from the command prompt I would like to see the console output to help debug things.

© Stack Overflow or respective owner

Related posts about log4net

Related posts about .NET