Fixing logger on rails startup