Skip to main content

Product: OpenFusion CORBA Services

Version: ALL

 

Description:

How to add timestamps to the logs?

 

Resolution:

By default logging is not configured to log the timestamps to the log file.

Details on configuring logging can be found in the System Guide.The basic steps are as follows:

1. Start the OpenFusion Administration Manager and choose the service you wish to add timestamps to and ensure the service is stopped. Go to the logging tag.

2. Change the Log Layout from simple to pattern.

3. In the log pattern box enter %d - %m%n

The %d will add the date, the %m adds the log message and the %n creates a new line character.

Save the settings and exit.


#OpenFusion
#KnowledgeDocs