ERT-711 Added init if log is called before log file is ready