Update generic_application.rb

add logger cherry picked from the latest version of xeroizer