mod_dumpost icon indicating copy to clipboard operation
mod_dumpost copied to clipboard

[Feature Request] New options to log( GET params/ResponseTime/IP origin/Headers)

Open toni-moreno opened this issue 8 years ago • 1 comments

Hi @danghvu

I'm interested on this module and improve by adding some new options .

But , I've never built an apache module before, and will take long in a code review to understand if could be possible 3 new features in a more or less easy way ( I will be able to do it if you can ensure me that is possible)

  1. I would like add ability to log generic "request" parameters not only POST but also GET parameters.
  2. I would like add also ability to log response time ( current %D/%T on the access.log) once the request has been completed.
  3. I would like also add some other generic access.log data . Like HTTP Status, HTTP URL/ client IP / Some Header etc.

How difficult could be add them? There is any apache api limitations to do this work?

Thank you very much.

toni-moreno avatar Jul 13 '17 10:07 toni-moreno

Thanks for the interest.

1 and 3 is easy to do, I already have an option to log extra HEADER fields, you can extend from that.

For 2 can be more complicated, need to hook the start and end of the response, Apache may be able do that but my module focuses on the filter part only and do not hook to these points.

danghvu avatar Jul 14 '17 01:07 danghvu