solved double logging issue by removing rails_12factor gem