Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4596

proxy.config.http.errors.log_error_pages is undocumented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Docs
    • Documentation
    • None

    Description

      The records.config setting
      proxy.config.http.errors.log_error_pages
      is undocumented.

      Think that this puts any 403/404 etc errors into the error.log file (in addition to the normal access logs).

      proxy/http/HttpTransact.cc: if (s->http_config_param->errors_log_error_pages && status_code >= HTTP_STATUS_BAD_REQUEST) {

      • its in INT
      • think the default is 1 (eg, true)
      • setting to 0 stops the bad requests from showing in error.log
      • Seems to be reloadable

      Attachments

        Activity

          People

            jsime Jon Sime
            mlibbey Miles Libbey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: