AddLog

Version 2 by s_aby
on Oct 01, 2008 05:30.

compared with
Current by s_aby
on Oct 03, 2008 03:59.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View page history
                                                                                                                                                                                                                                                                                                                                      *Back to [[Book|Administrator's Configuration File Reference#cfr]]     [[Topic|Administrator's Configuration File Reference#chap7]]*
h2. {{Addlog}} {anchor:addlog}

The {{AddLog}} directives are executed to record information about the transaction. For more information, see [{{AddLog}}|Flow of Control in obj.conf#add].

In addition, the following common SAFs are valid for the {{AddLog}} directive:
* [#{{match-browser}}]
* [#{{set-variable}}]
* [{{match-browser}}|Common SAFs across Multiple Directives#saf2]
* [{{set-variable}}|Common SAFs across Multiple Directives#saf8]

h3. {{flex-log}} {anchor:add1}
|{{name}} |(Optional) Specifies the name of a log file. The name must previously been defined by an {{access-log}} element in {{server.xml}}. If no name is given, the entry is recorded in the default log file. |
|{{iponly}} |(Optional) Instructs the server to log the IP address of the remote client rather than looking up and logging the DNS name. This improves performance if DNS is turned off. The value of {{iponly}} has no significance, as long as it exists; you may use {{iponly=1}}. |
|{{bucket}} |(Optional) Common to all {{obj.conf}} functions. Adds a bucket to monitor performance. For more information, see [#The {{bucket}} Parameter|The bucket Parameter#b1]. |

h4. Example

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact