linux we love you!

the logging capability should now be compatible with linux compilers;
thread-safe status has been retained