This must help.
In reply to Re: How to log from multiple threads into one logfile? by Gangabass in thread How to log from multiple threads into one logfile? by freddo411