Previous Topic: Transaction IDs

Next Topic: Record the Transaction ID in Apache Web Server Logs

Record the Transaction ID in Sun Java System Web Server Logs

Valid on Solaris

You can record the SiteMinder transaction ID in the Sun Java System web server logs.

To record the SiteMinder transaction ID in the Sun Java System web server logs

  1. Open the magnus.conf file.
  2. Add the the following header variable to the existing list of HTTP server variables that you want to log when the web server initializes:
    %Req->headers.SM_TRANSACTIONID%"
    

    Note: You must enter the header variable in uppercase unless the value of the LowerCaseHTTP parameter is set to yes in your Agent Configuration Object or local configuration file.

    The following example shows the SMTRANSACTIONID header variable in bold at the end of an existing entry. However, you can place it anywhere in the list of variables.

    Init fn="flex-init" access="D:/iPlanet/server4/https-orion/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \" %Req->srvhdrs.clf-status% %Req-srvhdrs.content-length% %Req->headers.- SM_TRANSACTIONID%"
    
  3. Restart the Sun Java System Server to apply the change.

    The transaction ID appears in the Sun Java System web server logs. The following example shows a web server log entry with the transaction ID in bold:

    11.22.33.44 - user1 [21/Nov/2003:16:12:24 -0500] "GET /Anon/index.html HTTP/1.0" 200 748 3890b4b9-58f8-4a74df53-07f6-0002df88
    

More information:

Use Lower Case HTTP in Headers (for Sun Java System, Apache, Domino)


Copyright © 2010 CA. All rights reserved. Email CA about this topic