give time for logging to file