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

.net, log4net, windows-services

Solution

As a default behaviour, the console isn't available in windows services, web services, windows forms. The outpu will simply be dismissed.

Problem

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.

Original source