httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: How to write to log from own functions?
Date Wed, 31 Jul 2019 13:49:20 GMT
On Wed, Jul 31, 2019 at 9:44 AM Bill Moo <mookimoo73@gmail.com> wrote:
>
> As the subject says really. How can I write to the log from my own
> functions I see nothing (obvious) in the documentation on how to do
> this. The functions that are there require a server_rec, connection or
> pool pointer, that I don’t have access to in my own functions.

ap_log_rerror is passed a request_rec. If you want to use apache's
logging, find a way to pass a request or conn_rec or pool down.

Mime
View raw message