Adding some logging to debug the production environment.