Log Manager Architecture
The Service Manager on the master gateway node controls the Log Manager. The Log Manager starts when you start the Informatica services. After the Log Manager starts, it listens for log events from the Service Manager and application services. When the Log Manager receives log events, it generates log event files.
The Log Manager creates the following types of log files:
- •Log event files. Stores log events in binary format. The Log Manager creates log event files to display log events in the Logs tab. When you view events in the Administrator tool, the Log Manager retrieves the log events from the event nodes.
The Log Manager stores the files by date and by node. Set the directory path with the infasetup tools defineDomain command -ld option.
- •Guaranteed Message Delivery files. Stores domain, application service, and user activity log events. The Service Manager writes the log events to temporary Guaranteed Message Delivery files and sends the log events to the Log Manager.
If the Log Manager becomes unavailable, the Guaranteed Message Delivery files stay in the default log directory on the node where the service runs. By default, the directory path is <Informatica_installation_directory>/logs/<Node_Name>. When the Log Manager becomes available, the Service Manager for the node reads the log events in the temporary files, sends the log events to the Log Manager, and deletes the temporary files.
PowerCenter Session and Workflow Log Events
PowerCenter session and workflow logs are stored in a separate location from the domain, application service, and user activity logs. The PowerCenter Integration Service writes session and workflow log events to binary files on the node where the PowerCenter Integration Service runs.
The Log Manager performs the following tasks to process PowerCenter session and workflow log events:
- 1. During a session or workflow, the PowerCenter Integration Service writes binary log files on the node. It sends information about the logs to the Log Manager.
- 2. The Log Manager stores information about workflow and session logs in the domain database. The domain database stores information such as the path to the log file location, the node that contains the log, and the PowerCenter Integration Service that created the log.
- 3. When you view a session or workflow in the Log Events window of the Workflow Monitor, the Log Manager retrieves the information from the domain database. The Log Manager uses the information to determine the location of the logs.
- 4. The Log Manager dispatches a Log Agent to retrieve the log events on each node to display in the Log Events window.
Data Integration Service Job Log Events
Logs for the jobs that the Data Integration Service runs are stored in a separate location from the domain, application service, and user activity logs. The Data Integration Service writes job log events to text files on the node where it runs.
The Data Integration Service and the Log Manager perform the following tasks to process job log events for the Data Integration Service:
- 1. When the Data Integration Service runs a job, it writes log events to text files on the node. The Data Integration Service sends information about the logs to the Log Manager.
- 2. The Log Manager stores log information in the Model repository database. The Model repository database stores information such as the path to the log file location, the node that contains the log, and the Data Integration Service that created the log.
- 3. When you view a job log on the Monitor tab of the Administrator tool, the Log Manager retrieves the information from the Model repository database. The Log Manager uses the information to determine the location of the logs.
- 4. The Log manager dispatches a Log Agent to retrieve the log events on each node to display the log.
Log Manager Recovery
When a service generates log events, it sends them to the Log Manager on the master gateway node. When you have the high availability option and the master gateway node becomes unavailable, the application services send log events to the Log Manager on a new master gateway node.
The Service Manager, the application services, and the Log Manager perform the following tasks:
- 1. An application service process writes log events to a Guaranteed Message Delivery file.
- 2. The application service process sends the log events to the Service Manager on the gateway node for the domain.
- 3. The Log Manager processes the log events and writes log event files. The application service process deletes the temporary file.
- 4. If the Log Manager is unavailable, the Guaranteed Message Delivery files stay on the node running the service process. The Service Manager for the node sends the log events in the Guaranteed Message Delivery files when the Log Manager becomes available, and the Log Manager writes log event files.
Troubleshooting the Log Manager
Domain and application services write log events to Service Manager log files when the Log Manager cannot process log events. The Service Manager log files are located in the default logs directory. The Service Manager log files include catalina.out, localhost_<date>.txt, and node.log. Services write log events to different log files depending on the type of error.
Use the Service Manager log files to troubleshoot issues when the Log Manager cannot process log events. You will also need to use these files to troubleshoot issues when you contact Informatica Global Customer Support.
Note: You can troubleshoot an Informatica installation by reviewing the log files generated during installation. You can use the installation summary log file to find out which components failed during installation.