Try to eliminate cases wher logging doesn't start properly.