Format; Example - HP P4535A - Web Cache Server Appliance Administrator's Manual

Hp cache server appliance administrator guide
Hide thumbs Also See for P4535A - Web Cache Server Appliance:
Table of Contents

Advertisement

Appendix D
Refer to
records.config‚ on page 182
proxy.config.log2.custom_logs_enabled
file are disabled.
logs.config
IMPORTANT

Format

Each line in
logs.config
following fields, separated by colons (:).
Field
format
activation flag
unique format identifier
format name
format string
file name
file type
file header data

Example

The following example shows a custom log file named
The client host IP address (
The client request universal resource identifier (
The proxy response status code (
format:enabled:1:minimal:%<chi> / %<cqu> / %<pssc>:minimalist:ASCII:none
Example output to the
123.12.3.123 / GET http://earth/ocean/index.html HTTP/1.0 / 200
The following example shows a log file named
The User-Agent value of the client request header (
The Retry-After value of the proxy response header (
format:enabled:1:test:%<{User-Agent}cqh> %<{Retry-After}psh>:test:ASCII:none
for information about setting
After you modify the
logs.config
configuration files. Run the
you need only run the command for one node; the changes will propagate.
file establishes and formats a custom transaction log file. Lines consist of the
Allowed Inputs
All lines must begin with the word
enabled
disabled
Use a unique integer for each custom log file you create.
Enter a name for the format you define.
Enter a
-style format string specifying the field symbols to be displayed
printf
and how they should look in ASCII. Refer to
Formats
for a list of the available field symbols and their meanings. Field
symbols are indicated by
that
is the client host IP and not the string
chi
Enter a name for the custom log file you create.
ASCII
BINARY
none—Enter none if you do not want header text.
header text—If you want your custom log file to have a header, enter the
appropriate text here.
)
chi
)
pssc
file is as follows:
minimalist
records.config
variable is set to 0 (disabled), any custom log files set in the
file, Traffic Manager has to reread the
command. If you are running a cluster,
traffic_line -x
.
format
%<field_symbol>
. It records the following information:
minimalist
)
cqu
. It records the following information:
test
)
cqh
)
psh
Configuration Files
variables. If the
Appendix E‚ Event Logging
format. For example, to indicate
to be printed, enter
chi
%<chi>
.
170

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P4535A - Web Cache Server Appliance and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

P4535a

Table of Contents