unlocked the log file

with f_open noone could open the log file when server was still running