I think it's worth bearing in mind that the thread module is clearly described as "highly experimental", and only available in the SVN release, so it's hardly ideal for commercial releases anyway.
However, doing this should stop the log file being created -- it works here anyway:
1) Back up "brl.mod\blitz.mod\bdwgc\misc.c";
2) Open misc.c in a text editor and go to line 841;
3) Replace the
GC_write function with the code below:
int GC_write(const char *buf, size_t len)
{
}
(Alternatively, just manually comment out everything between the outermost { and } lines within GC_write, so you can easily go back.)
Now save misc.c, open a command line and type
bmk makemods -h. Re-run your program and there should be no more log file.