use_logger option for HTTPExceptions middleware