Finally, I used *multiprocess-safe* versioned `open_logfile` at here.