Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache dispatcher get header content in logs |
|
Author |
|
Stakshi
Joined: 27 Nov 2018 Posts: 1 Location: India, Noida
|
Posted: Tue 27 Nov '18 14:17 Post subject: Apache dispatcher get header content in logs |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 10 Dec '18 12:04 Post subject: |
|
|
Please post your log config |
|
Back to top |
|
|
|
|
|
|