Log output for calculation classes

You have the option of specifying which messages are to be output for each calculation class using the loglevel XML attribute. Enter one of the values SILENT, DEFAULT, or VERBOSE.

The following table shows the default relationship between the loglevel XML attribute and the type of messages that are output from the calculation class. The message type is determined by the assigned logger module in the client-specific configuration file Server_Log_settings.properties.

Log level

Description

SILENT

All log output is suppressed.

DEFAULT

Warnings and error messages are output.

VERBOSE

Information, warnings, and error messages are output.


Server_Log_settings.properties file extract:

...

#MODULE_CALCCLASS_SILENT

log4j.logger.LOG.CCS=FATAL

#MODULE_CALCCLASS_DEFAULT

log4j.logger.LOG.CCD=WARN

#MODULE_CALCCLASS_VERBOSE

log4j.logger.LOG.CCV=INFO

...

Example

The following file extract specifies that information, warning, and error messages are not to be output for the calculation of the function cycle time.

...

<calcattr name="AT_KI_FDLZ" type="OT_FUNC"

loglevel="SILENT">

<calcclass name="com.idsscheer.ppm.server.keyindicator.

attributecalculator.ZAttributeCalculatorFDLZ"/>

</calcattr>

...

If you specify arguments in the command line to control log output, these arguments take precedence over the specifications in Server_settings.properties. (see chapter on Common arguments)