httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmar...@penguincomputing.com
Subject Re: Doh!! scrap that last patch
Date Wed, 03 May 2000 20:49:25 GMT
On Wed, May 03, 2000 at 09:18:39AM -0400, Bill Stoddard wrote:
> Your patch does this:
> 
> ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r, "DB user %s: authentication
> failure for \"%s\": %s",  r->user, r->uri, ap_strerror(invalid_pw, error_buf, 1024));
> 
> You can accomplish pretty much the same thing (in a more normal Apache fashion) with:
> 
> ap_log_rerror(APLOG_MARK, APLOG_ERR, invalid_pw, r,  "DB user %s: authentication failure
> for \"%s\",  r->user, r->uri);
> 
> If you specify APLOG_ERR then pass in the status code, ap_log_rerror will call ap_strerror
> under the covers.
> 
Cool.  I didn't know that.  This stuff isn't documented is it?
I suppose it is probably somewhat premature to start talking about documentation :)

Brian

Mime
View raw message