To Create Traditional Custom Log Formats - 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

Chapter 12
Using traditional custom formats
To create traditional custom log files, you must enable the traditional custom log format option and edit Traffic
Server's traditional log configuration file (
display in your log files by entering printf-style format strings.
You can create as many custom log file formats as necessary. However, log files consume space quickly, so
do not create more than you really need.

To create traditional custom log formats:

1. Access Traffic Manager from your browser (refer to
2. On the Configure tab, click the Logging button.
3. Scroll to the Custom Logs section of the Logging page (shown below).
4. Select the Enabled: On button.
5. Select the Traditional button.
6. Click the Make These Changes button, then exit Traffic Manager.
7. Telnet into the HP web cache appliance and select Shell Access as described in
Methods‚ on page
8. Open the
logs.config
9. To add a traditional custom log specification, enter a line in the
format:
format:enable_flag:format_id:format_name:string:file_name:type:header
NOTE
Specify values for the fields:
Field
format
enable_flag
format_id
format_name
string
logs.config
7.
file with Vi.
Each line in the
logs.config
Description
All lines must begin with the word format.
This field enables or disables transaction logging using this format. You can enter
one of the following:
enabled
disabled
If you enter disabled, you have defined a custom log file format but are not
using it.
Use a unique integer to identify each of your custom log formats.
Enter a name for this custom format.
Enter a printf-style format string specifying the field symbols to be displayed
and how they should look in ASCII. For a list of the available field symbols and
their meanings, refer to
). You must specify the information you want to
Accessing Traffic Manager‚ on page
logs.config
file produces one file (if the format is active).
Appendix E‚ Event Logging
Working with Log Files
8).
Overview of Access
file with the following
Formats.
104

Advertisement

Table of Contents
loading

This manual is also suitable for:

P4535a

Table of Contents