add function in lib/logging.coffee to log in file log/production.log