logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache dispatcher get header content in logs
Author
Stakshi



Joined: 27 Nov 2018
Posts: 1
Location: India, Noida

PostPosted: Tue 27 Nov '18 14:17    Post subject: Apache dispatcher get header content in logs Reply with quote

I get log below from dispatcher. I need to be able to dump request header content and and also content of body if possible. Can someone please suggest how to do same.

[dateTime] [D] [pid processID (tid threadID)] checking [url here]
[dateTime] [D] [pid processID (tid threadID)] request URL has no extension: url
[dateTime] [D] [pid processID (tid threadID)] cache-action for [url]: NONE
[dateTime] [D] [pid processID (tid threadID)] Creating new socket: <ip:port>
[dateTime] [D] [pid processID (tid threadID)] Connected to backend 0 (backend ip)
Adding request header: referer
[dateTime] [D] [pid processID (tid threadID)] Adding request header: user-agent
[dateTime] [D] [pid processID (tid threadID)] Adding request header: content-type
[dateTime] [D] [pid processID (tid threadID)] Adding request header: content-length
[dateTime] [D] [pid processID (tid threadID)] Adding request header: accept-encoding
[dateTime] [D] [pid processID (tid threadID)] Adding request header: accept-language
[dateTime] [D] [pid processID (tid threadID)] Adding request header: accept
[dateTime] [D] [pid processID (tid threadID)] Adding request header: host
[dateTime] [D] [pid processID (tid threadID)] Adding request header: cookie
[dateTime] [D] [pid processID (tid threadID)] Adding request header: Via
[dateTime] [D] [pid processID (tid threadID)] Adding request header: X-Forwarded-For
[dateTime] [D] [pid processID (tid threadID)] Adding request header: X-Forwarded-SSL
[dateTime] [D] [pid processID (tid threadID)] Adding request header: X-Forwarded-SSL-Cipher
[dateTime] [D] [pid processID (tid threadID)] Adding request header: X-Forwarded-SSL-Session-ID
[dateTime] [D] [pid processID (tid threadID)] Adding request header: Server-Agent
[dateTime] [D] [pid processID (tid threadID)] Sending request body to remote server
[dateTime] [E] [pid processID (tid threadID)] Error while reading request body.
[dateTime] [D] [pid processID (tid threadID)] No socket reuse: response body not fully consumed
[dateTime] [I] [pid processID (tid threadID)] "POST url" 400 - 3810ms []
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 10 Dec '18 12:04    Post subject: Reply with quote

Please post your log config
Back to top


Reply to topic   Topic: Apache dispatcher get header content in logs View previous topic :: View next topic
Post new topic   Forum Index -> Apache