Table of Contents

Search

  1. Preface
  2. Workflow Manager
  3. Workflows and Worklets
  4. Sessions
  5. Session Configuration Object
  6. Tasks
  7. Sources
  8. Targets
  9. Connection Objects
  10. Validation
  11. Scheduling and Running Workflows
  12. Sending Email
  13. Workflow Monitor
  14. Workflow Monitor Details
  15. Session and Workflow Logs
  16. Session Properties Reference
  17. Workflow Properties Reference

Configuring Session Log File Information

Configuring Session Log File Information

You can configure session log information on the session Properties tab and the Config Object tab.
  1. Select the Properties tab of a session.
  2. Enter the following session log options:
    Option Name
    Description
    Write Backward Compatible Session Log File
    Writes session logs to a log file. Select this option if you want to create a log file in addition to the binary log for the Log Events window.
    Session Log File Name
    By default, the Integration Service uses the session name for the log file name:
    s_mapping name
    .log. For a debug session, it uses DebugSession_
    mapping name
    .log.
    Enter a file name, a file name and directory, or use the $PMSessionLogFile session parameter. The Integration Service appends information in this field to that entered in the Session Log File Directory field. For example, if you have “C:\session_logs\” in the Session Log File Directory File field and then enter “logname.txt” in the Session Log File field, the Integration Service writes the logname.txt to the C:\session_logs\ directory.
    You can also use the $PMSessionLogFile session parameter to represent the name of the session log or the name and location of the session log.
    Session Log File Directory
    Location for the session log file. By default, the Integration Service writes the log file in the process variable directory, $PMSessionLogDir.
    If you enter a full directory and file name in the Session Log File Name field, clear this field.
  3. Click the Config Object tab.
  4. Enter the following session log options:
    Option Name
    Description
    Save Session Log By
    You can create session logs according to the following options:
    • Session Runs. The Integration Service creates a designated number of session log files. Configure the number of session logs in the Save Session Log for These Runs option. The Integration Service does not archive binary logs.
    • Session Time Stamp. The Integration Service creates a log for all sessions, appending a time stamp to each log. When you save a session log by time stamp, the Integration Service archives the binary logs and text log files.
    You can also use the $PMSessionLogCount service variable to create the configured number of session logs for the Integration Service.
    Save Session Log for These Runs
    Number of historical session logs you want the Integration Service to create.
    The Integration Service creates the number of historical logs you specify, plus the most recent session log.
  5. Click OK.