On Wed, Jul 31, 2019 at 9:44 AM Bill Moo <mookimo...@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.