httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59989] New: Add log message when dav_auto_checkin fails
Date Thu, 11 Aug 2016 15:40:45 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59989

            Bug ID: 59989
           Summary: Add log message when dav_auto_checkin fails
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: jiazhouyang@nudt.edu.cn

Created attachment 34135
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34135&action=edit
Add log message when dav_auto_checkin fails

Function dav_auto_checkin may fail. The majority of calls have checked the
return value and printed log message like the following code snippet, while the
others have not. Those unchecked ones probably need logs too (see attachment).

/* httpd-2.4.10/modules/dav/main/mod_dav.c:3421:11 */
    err = dav_auto_checkin(r, resource, 0 /*undo*/, 0 /*unlock*/, &av_info);
    if (err != NULL) {
        /* just log a warning */
        err = dav_push_error(r->pool, err->status, 0,
                             "The VERSION-CONTROL was successful, but there "
                             "was a problem automatically checking in "
                             "the parent collection.",
                             err);
        dav_log_err(r, err, APLOG_WARNING);
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message