Thanks again Eric, I did suspect that that would be the solution.
I feel another parameter coming on. On Wed, 31 Jul 2019 at 14:49, Eric Covener <cove...@gmail.com> wrote: > > 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.