I've wrote a windows service in C# using ServiceBase
helper. During its execution some procedures on an external native DLL are called. Annoyingly, those procedures write to stdout and/or stderr in a uncontrolled manner as no sources are given for this DLL.
Is it possible to redirect those outputs from the C# service to a log file?
Regards