HTTP error handler yaz_logs and uses yaz_snprintf to prevent buffer