pdweb.debug trace of HTTP header requests and responses

The pdweb.debug component traces the HTTP headers for requests and responses.

The pdweb.debug component operates at level 2 only. To log the message body, see pdweb.snoop trace of HTTP traffic with WebSEAL. The following example command starts the trace utility for the pdweb.debug component at level 2 and directs the output to a file:

pdadmin> server task webseald-instance trace set pdweb.debug 2 \
file path=debug.log

Sample output of this command as it displays in the debug.log file:

2012-08-10-23:42:19.725+00:00I----- thread(7) trace.pdweb.debug:2
/amweb600/src/wand/wand/log.c:278: ------------- Browser ===> PD -------------
Thread_ID:27
GET /junction/footer.gif HTTP/1.1
Accept: */*
Referer: https://bevan/junction/
Accept-Language: en-us
Accept-Encoding: gzip, deflate
If-Modified-Since: Wed, 11 Jul 2009 21:11:14 GMT
If-None-Match: "abe09-3c8-3b4cc0f2"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
Host: bevan
Connection: Keep-Alive
---------------------------------------------------

2012-08-10-23:42:19.736+00:00I----- thread(7) trace.pdweb.debug:2
/amweb600/src/wand/wand/log.c:278: ------------- PD ===> BackEnd -------------
Thread_ID:27
GET /footer.gif HTTP/1.1
via: HTTP/1.1 bevan:443
host: blade.cruz.ibm.com:444
user-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
accept: */*
accept-language: en-us
accept-encoding: gzip, deflate
if-none-match: "abe09-3c8-3b4cc0f2"
referer: https://bevan/blade/
if-modified-since: Wed, 11 Jul 2009 21:11:14 GMT
connection: close
---------------------------------------------------

2012-08-10-23:42:19.739+00:00I----- thread(7) trace.pdweb.debug:2
/amweb600/src/wand/wand/log.c:278: ------------- PD <=== BackEnd -------------
Thread_ID:27
HTTP/1.1 304 Not Modified
date: Wed, 10 Aug 2012 23:34:17 GMT
etag: "abe09-3c8-3b4cc0f2"
server: IBM_HTTP_SERVER/1.3.19.1Apache/1.3.20 (Unix)
connection: close
---------------------------------------------------

2012-08-10-23:42:19.740+00:00I----- thread(7) trace.pdweb.debug:2
/amweb600/src/wand/wand/log.c:278: ------------- Browser <=== PD ------------
Thread_ID:27
HTTP/1.1 304 Not Modified
date: Wed, 10 Aug 2012 23:34:17 GMT
etag: "abe09-3c8-3b4cc0f2"
server: IBM_HTTP_SERVER/1.3.19.1Apache/1.3.20 (Unix)
---------------------------------------------------

Parent topic: Trace logging for WebSEAL