* dav_log_err() * * Write error information to the log. */
| 613 | * Write error information to the log. |
| 614 | */ |
| 615 | static void dav_log_err(request_rec *r, dav_error *err, int level) |
| 616 | { |
| 617 | dav_error *errscan; |
| 618 | |
| 619 | /* Log the errors */ |
| 620 | /* ### should have a directive to log the first or all */ |
| 621 | for (errscan = err; errscan != NULL; errscan = errscan->prev) { |
| 622 | if (errscan->desc == NULL) |
| 623 | continue; |
| 624 | |
| 625 | /* Intentional no APLOGNO */ |
| 626 | ap_log_rerror(APLOG_MARK, level, errscan->aprerr, r, "%s [%d, #%d]", |
| 627 | errscan->desc, errscan->status, errscan->error_id); |
| 628 | } |
| 629 | } |
| 630 | |
| 631 | /* |
| 632 | * dav_handle_err() |
no outgoing calls
no test coverage detected