Servertec logger.ini
Documentation
Conventions
Command Line
Java API
Servlet API
Servlets
Config Files
acl.ini
aliases.ini
computers.ini
groups.ini
iws.ini
logger.ini
messages.ini
mimetypes.ini
resources.ini
rights.ini
servlets.ini
session.ini
users.ini

Log Files
Classes
Directory Tree

Return

 

logger.ini, contains values used by the Logger.

Syntax

log_access = log_access_enabled
log_events = log_events_enabled
log_errors = log_errors_enabled
service = class_file{?parameter{&parameter}...}

class_file the Java Class in the form package.class of the Logger to use.

The CLASSPATH will be searched for the specified Logger.

log_access_enabled whether or not to log requests.

y is the default for Servertec Internet Server.

Setting this value to n will result in no access log being maintained. Setting this value to y may have a negative impact on performance.

log_errors_enabled whether or not to log errors.

y is the default for Servertec Internet Server.

Setting this value to n will result in no log being maintained for errors. Setting this value to y may have a negative impact on performance.

log_events_enabled whether or not to log events.

y is the default for Servertec Internet Server.

Setting this value to n will result in no log being maintained for events. Setting this value to y may have a negative impact on performance.

parameter any parameters used during the initialization of the Logger.

Zero or more & delimited key=value pairs can be specified.

Configuration

Servertec Internet Server aJile Edition includes a console logger that outputs events and requests to stdout and errors to stderr.
Use the following steps to configure the console logger.
  1. Set Class File to stec.iws.ConsoleLogger.
  2. Define the following Parameters:
    interval=interval

    interval The number of milliseconds that that Logger waits between flushing queued logger entries.

    0 milliseconds is the default for the Logger.

    0 can be used to flush logger entries immediately.

    The number must be at least 50 milliseconds.

    Setting this value too small may have a negative impact on performance. Setting this value too large may have a negative impact on performance and may result in logger entries that have not been flushed being lost if the server crashes or if it is aborted.

Notes

Changes made to configuration files will not be used until the Servertec Internet Server is rebuilt and redeployed.

Example

log_access = y
log_events = y
log_errors = y
service = stec.iws.ConsoleLogger?interval=0
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:47 EDT 2005