Added logging to file for the production app.