How can you attach a C# console application to a running windows service?
<p>I have a windows service that generates logs as it does some execution. I also do <code>console.writeline</code> call for every log message I write into the log file. But since its a windows service the console.write line is not visible.</p>

<p>I want to write a C# console application program that can attach to my service (already running) and it could just show all <code>console.writeline</code> messages that the process (my windows service) is generating.</p>

<p><strong>updated:</strong> The volume of log is very frequent ( 50 messages every minute) , I would prefer not want to crowd windows event log for this. Using a cosole window helps to look at logs and exit on convenience</p>
