Fix logger in stand-alone mode