Servertec templates.ini
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Server API
Servlet / JSP API
Xerces API
CGI
SSI
Servlets
Config Files
acl.ini
aliases.ini
archives.ini
computers.ini
contexts.ini
dbpools.ini
groups.ini
hosts.ini
iws.ini
locales.ini
logger.ini
messages.ini
mimetypes.ini
realms.ini
resources.ini
rights.ini
servlets.ini
session.ini
templates.ini
users.ini
workgroup.ini

Log Files
Classes
Directory Tree
Examples
Legal
Contact Us

 

templates.ini, stores templates used by the Logger.

Syntax

name = text

name the name of the Access Log Template.
text the field mask to use.

Access Log Templates may contain literal text and the following variables delimited by %:

Variable Description
base_uri The requested uri.
content_length The number of bytes sent to the client.
date The current date in mm/dd/yy format.
edate The current date in yyyy/mm/dd format.
error_code Extended error code.
host The name of the server that received the request.
ldate The current date in mm/dd/yyyy format.
local_address The IP address of the server that received the request.
port The port used.
protocol The request protocol.
referer The URL from where the request was made.
remote_address The IP address of the client making the request.
remote_host The name of the client making the request.
remote_user The client's name.
response_time The number of milliseconds the server spent processing the client's request.
request_length The number of bytes sent by the client.
request_method The request method being made.
request_uri The request made by the client.
query_string Any form parameters sent.
server_service The server service being processing the request.
status_code The status code the server sent to the client.
time The current time in hh:mm:ss format.
timestamp The current date/time in mm/dd/yyyy:hh:mm:ss timezone format.
user_agent The client making the request.
xdate The current date in yyyy-mm-dd format.
xtimestamp The current date/time in dd/mmm/yyyy:hh:mm:ss timezone format.

Access Log Header Templates may contain literal text and the following variables delimited by %:

Variable Description
date The current date in mm/dd/yy format.
edate The current date in yyyy/mm/dd format.
ldate The current date in mm/dd/yyyy format.
logo The server's name, version, release date and distribution.
time The current time in hh:mm:ss format.
xdate The current date in yyyy-mm-dd format.

Notes

Access Log Templates are used for specifying the fields that the logger will record in each access log entry.

Access Log Header Templates are used for specifying the fields that the logger will record each time the server is started and at the beginning of each access log file.

\n will be replaced with carriage return.

Changes made to configuration files will not be used until the server is restarted.

Example

clf = %remote_address% - - [%timestamp%] "%request_method% %request_uri% %protocol%" %status_code% %content_length%
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:57:18 EDT 2005