Address the problem of accesssing the host log from OpenMP and race conditions associated with it.