On this page
Short answer
A full log disk on a PowerCenter node usually traces to one of three settings: Save Session Log By Timestamp, which keeps every log, a rollover setting that allows unlimited partial files, or a log directory nobody sized. The default keeps only the most recent log, so growth usually means a setting was changed. Find the setting, then set a retention count.
A full log disk on a PowerCenter node usually traces to one of three settings: Save Session Log By Timestamp, which keeps every log, a rollover setting that allows unlimited partial files, or a log directory nobody sized. The default keeps only the most recent log, so growth usually means a setting was changed. Find the setting, then set a retention count.
The settings below are from the PowerCenter 10.5 Workflow Basics Guide and 10.4.0 Application Service Guide. They are the incident view. For choosing the values before anything fails, see how to run Informatica PowerCenter: logs and recovery. If a disk is filling now, Informatica support can work it with you.
Which session log settings fill a disk?
Four settings decide how much log a session leaves behind. Two are retention, two are rollover for real-time sessions. Check them in the session's Config Object tab, under Log Options, which the documentation describes as how backward compatible session log files are saved.
| Setting | Documented default or behavior | Disk risk |
|---|---|---|
| Save Session Log By | Timestamp saves all session logs and appends a time stamp to each. Runs saves a set number. | Timestamp never prunes. |
| Save Session Log for These Runs | Keeps that many historical logs plus the most recent one. Zero keeps only the most recent. | A very large number keeps logs until the disk is full. |
| Session Log File Max Size | Default 0, which means no limit. | One real-time session writes one huge file. |
| Maximum Partial Session Log Files | Default 1. Zero means unlimited. | Rollover with zero keeps every partial file. |
The count can go as high as 2,147,483,647, so the documentation sets no practical ceiling for you. That is your job.
Where do the logs live, and how do you size them?
By default the Integration Service writes session logs to $PMSessionLogDir, which defaults to $PMRootDir/SessLogs, and workflow logs to $PMWorkflowLogDir, defaulting to $PMRootDir/WorkflowLogs. A text file is written only if the session has Write Backward Compatible Log File selected. Otherwise it creates the binary log only.
To find the heaviest sessions, list the directory by size from the node, using the real path of your session log directory:
du -sk /path/to/SessLogs/* | sort -n | tail -20Log names carry the session name, so the largest entries show which sessions to fix first. Check the workflow log directory the same way.
Two file-name settings matter when you archive. The default session log file name is s_ followed by the mapping name, with a .log suffix. The Session Log File Name field accepts a name, a name with a directory, or the $PMSessionLogFile session parameter, and the Integration Service appends the name to the Session Log File Directory, which defaults to $PMSessionLogDir. If the name holds a full path, clear the directory field. For archiving, note one difference: Session Time Stamp archives both binary and text logs, while Session Runs does not archive the binary logs.
How do you set one retention count for many sessions?
Use the $PMSessionLogCount service variable. The documentation describes it as the number of session logs the Integration Service archives for the session, with a minimum of 0 and a default of 0. The Log Options page says you can use it to save the configured number of session logs for the whole service.
$PMWorkflowLogCount does the same for workflow logs, with the same default. Put a number in both that covers your longest investigation window, and no more.
How many runs should you keep?
Enough to cover the longest gap between a failure and someone looking at it. The count is runs, not days, so it depends on the schedule. With five runs configured the Log Manager keeps the five historical logs plus the most recent one, six runs in all. An hourly session with that setting holds about six hours of history, while a nightly one holds about six nights.
Set the count per schedule type, not once for everything, and check the workflows that run many times a day first. They fill the directory fastest.
How do IICS Secure Agent session logs differ?
In Informatica Intelligent Cloud Services, Data Integration advanced session properties give you a log file name and a Maximum Number of Log Files. With a static name, each run gets a sequence number, such as samplelog.1 and samplelog.2, and the numbering cycles when the maximum is reached. With a dynamic name built from $CurrentTaskName, $CurrentTaskId, $CurrentTime or $CurrentRunId, or from a parameter file, every run writes a unique file and the maximum is not applied, so purge those files yourself.
The session log directory defaults to the apps/Data_Integration_Server/logs folder under the Secure Agent installation directory, and it must be local to the Secure Agent. Size that volume as you would a PowerCenter node, and add the same free-space alert. For long-running real-time sessions, the PowerCenter Session Log File Max Time Period (hours, default 0) adds time-based rollover next to the maximum size.
What is a safe order of work on a full disk?
- Confirm the free space and which directory holds the files.
- Find the heaviest sessions with the command above.
- Copy any logs you still need for an open incident to another volume.
- Remove old logs you no longer need, using your own retention policy.
- Change those sessions from Timestamp to Runs, or set a count in the service variable.
- Add a free-space alert on the log directory so it does not repeat.
Never delete a log that a recovery or an open investigation still needs.
Sources
- Log Options Settings, Informatica PowerCenter 10.5 Workflow Basics Guide, read 4 December 2026.
- Writing to Log Files, Informatica PowerCenter 10.5 Workflow Basics Guide, read 4 December 2026.
- PowerCenter Integration Service Properties, Informatica PowerCenter 10.4.0 Application Service Guide, read 4 December 2026.
- General Properties, Informatica 10.4.0 Application Service Guide, read 4 December 2026.
- Configuring Session Log File Information, Informatica PowerCenter 10.5 Workflow Basics Guide, read 4 December 2026.
- Advanced Session Properties, Informatica Cloud Data Integration, read 4 December 2026.
Frequently Asked Questions
How many session logs does PowerCenter keep by default?
One. If you configure zero logs the Log Manager saves the most recent session log, and the $PMSessionLogCount service variable defaults to 0. Keeping more means setting Save Session Log By to Runs and choosing a number.
Why are my session logs filling the disk?
A likely cause is Save Session Log By Timestamp, which saves all session logs and prunes none. A real-time session with no maximum file size, or rollover set to unlimited partial files, can also grow very large.
Where does PowerCenter write session logs?
To the directory set in $PMSessionLogDir, which defaults to $PMRootDir/SessLogs. That is the default: a session can set its own Log File Directory. A text log exists only when Write Backward Compatible Log File is selected.
How many session logs does IICS keep by default?
With a static log file name, IICS writes numbered files and cycles them when Maximum Number of Log Files is reached. A dynamic name gives every run a unique file, and the maximum then does not apply, so old files must be purged manually.
Talk to an engineer
Need a hand with Informatica?
Senior engineers who run it in production. Get a quote or a free consultation, no sales pitch.

