Logger now more failure safe