wip
Fix application logging with rails environments, close #40