removed the logger section from lib as it breaks rails4