Error, Warning, and Informational Messages

As the daemon operates, it generates error, warning, and informational messages. These messages may be useful for TimesTen system administration and for debugging applications.

By default, TimesTen messages and diagnostic information are stored in:

  • A user error log that contains error message information. Generally, these messages contain information on actions you may need to take. The default file is timesten_home/diag/tterrors.log.

  • A daemon log file containing everything in the user error log plus information used by TimesTen Customer Support. The default file is timesten_home/diag/ttmesg.log.

  • An invalidation file containing diagnostic information when TimesTen invalidates a database. This file provides useful troubleshooting information for TimesTen Customer Support. The invalidation file is created and named based on the value specified by the DataStore connection attribute. This connection attribute is not a file name. For example on Linux and UNIX systems, if the DataStore connection attribute is /home/ttuser/AdminData, the actual invalidation file name has a suffix, .inval, /home/ttuser/AdminData.inval. See Critical Event Logging.

  • Critical events log files contain a collection of daemon log entries at the moment of a critical event to assist when diagnosing critical failures. See Critical Event Logging.

You can specify the location and size of the daemon log files and user log files, as well as the number of files to keep stored on your system in the TimesTen instance configuration file (the timesten.conf file).

You can also specify the syslog facility used to log TimesTen daemon and subdaemon messages on Linux or UNIX. On a separate line of the timesten.conf file add:

facility=name

Possible name values are: auth, cron, daemon, local0-local7, lpr, mail, news, user, or uucp.

See TimesTen Instance Configuration File in the Oracle TimesTen In-Memory Database Reference.

The ttDaemonLog utility enables you to control the type of events that TimesTen writes to and fetches from the TimesTen user and error logs. You can also display all messages or selected categories of messages from the log to the standard output with this utility. See ttDaemonLog in the Oracle TimesTen In-Memory Database Reference.