@PD4ML wrote:

I’ve forwarded the question to our .NET team. I’ll let you know as soon as we have new info.

Much appreciated! However, we figured out it out. See below.

1. In the OnStart function of Windows Service Host class, add the following code:
<br /> Console.SetError(New System.IO.StreamWriter("[filename]")<br />

2. Then in the OnStop function, add the following code:
<br /> Console.Error.Close()<br />

I’m sure there are other ways to do this such as creating your own custom System.Diagnostics listener, but this way works too. One thing to note is that you will need to stop the service in order to see the logs that were written.