Re-route logging to console in non-production.