Logger should be set in error mode for production