Configuring Logger

This section helps you to configure TAFC Logger and their variables. jAgent uses the TAFC Logger. The logging switch of –F used to send log output to a file while starting the jAgent has been deprecated. The logger can be configured for jbase_agent with the [agent] section in the tafc.ini file.

Log Message Format and Severity Categories

TAFC provides jAgent logger entries with the following syntax.

agent.<hostname>.<user name>.log.<severity level>.<date>.<time>.<pid>
EXAMPLE:
agent.MAAL10204123.gerard.log.ERROR.20110822-095934.7644

The following table provides descriptions on the severity categories of log entries.

Severity Level

Description

INFO

Messages that contain information only when debugging a program

WARNING

Warning messages, which is the default level

ERROR

Error messages

FATAL

Application terminates

You can switch on the Logger messages and redirect them to a file by setting Logger variables in the [agent] section of the tafc.ini file.

[agent]
LOGGING=FILE
LOG_DIR= /usr/gerard
MINLOGLEVEL=ERROR

To turn logging off for the agent, run the following command.

[agent]
LOGGING=OFF

The log directory defaults to $TAFC_HOME/log/$TAFC_CONTEXT if not defined.

MINLOGLEVEL can be set at the severity levels.

See TAFC Logger user guide for more information on logging.


Bookmark Name Actions
Feedback
x