logging.timestamp

Use eclipselink.logging.timestamp to specify if TopLink should include a timestamp in each log message.

Values

Table 5-60 describes this persistence property's values.

Table 5-60 Valid Values for logging.timestamp

Value Description

true

(Default) Log a timestamp.

false

Do not log a timestamp.


Usage

Examples

Example 5-59 shows how to use this property in the peristence.xml file.

Example 5-59 Using logging.timestamp in persistence.xml file

<property name="eclipselink.logging.timestamp" value="false" />

Example 5-60 shows how to use this property in a property map.

Example 5-60 Using logging.timestamp in a Property Map

import org.eclipse.persistence.config.PersistenceUnitProperties;propertiesMap.put(PersistenceUnitProperties.LOGGING_TIMESTAMP, "false");

See Also

For more information, see:

  • "Configuring WebLogic Server to Expose TopLink Logging" in Solutions Guide for Oracle TopLink

  • "logging.level"