Set app logger

For issue #183 I have the same problem with Rails 4.1.6 and Ruby 2.1 with that, we have covered some cases ^^
Merge pull request #184 from Shelvak/logger_fix

[Issue#183] Set app logger