apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: APR Error Handling
Date Mon, 09 Jul 2001 20:11:07 GMT

> Hi.
> I've got a simple library/test app which uses APR.
> I would like to also use it in a apache module..
> the problem I'm seeing is that ap_log_[rp]error is in server/log.c
> so I can't use that if It's not HTTP.
> I was wondering if there should be something in the APR code a APR
> routine can call and which ap_log_Xerror would call to actually write
> the error out.

ap_log_Xerror are web server specific.  APR provides apr_strerror to
provide a string interpretation of the error, but a function to write the
error string to stderr is beyond the scope of APR.


Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net

View raw message