You may want to modify some of the configuration properties in production environments to optimize performance. To help aid in this across all the logging services there is a global component at /atg/reporting/Configuration, which has a set of properties that the different logging services link to. This lets you change logging behavior for logging services globally, rather than changing the configuration of each logging service separately. The following table describes the properties that you can globally configure:

Property Name

Function

enableLogging

Flag to determine if the logging operations should be enabled. To disable all logging for the server set this to false.

Default: true

dataItemThreshold

The number of items to log at once (in a batch).

Default: 10

SQLFlushSchedule

The schedule that the SQL loggers should use to periodically flush their data to the database.

Default: every 10 minutes in 10 minutes

summarizationThreshold

The number of log entries to collect before generating a summarized log entry.

Default: 100

summarizationFlush
Schedule

The schedule that the summarizers should use to output their current statistics.

Default: every 10 minutes in 10 minutes

logFileRotation
Schedule

Schedule to determine when the log files should be rotated. (See the Core Dynamo Services chapter in the Platform Programming Guide.) The default setting has the logs rotated every day at 1am.

Default: calendar * * * 1 0

idBurnFactor

How many log entry IDs should be reserved in one batch.

Default: 100

dataLogFileDir

The directory in which to place all the log data files.

Default: logs

scheduler

The centralized ATG scheduler service.

Default: /atg/dynamo/service/Scheduler

timestampLogFileName

Adds a time-stamp to all the names of the log files.

Default: true

logFileExtension

Uses this extension for the log file.

Default: data

timestampDateFormat

Format for the time stamp, based on java.text.SimpleDateFormat. The default value formats dates by month-day-year_hour-minute_second-millisecond.

Default: MM-dd-yyyy_HH-mm-ss-SS


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices