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. Appendix A: Session Properties Reference
  17. Appendix B: Workflow Properties Reference

Workflow Basics Guide

Workflow Basics Guide

Writing to Log Files

Writing to Log Files

When you create a workflow or session log, you can configure log options in the workflow or session properties. You can configure the following information for a workflow or session log:
  • Write Backward Compatible Log File.
    Select this option to create a text file for workflow or session logs. If you do not select the option, the Integration Service creates the binary log only.
  • Log File Directory.
    The directory where you want the log file created. By default, the Integration Service writes the workflow log file in the directory specified in the service process variable, $PMWorkflowLogDir. It writes the session log file in the directory specified in the service process variable, $PMSessionLogDir. If you enter a directory name that the Integration Service cannot access, the workflow or session fails.
    The following table shows the default location for each type of log file and the associated service process variables:
    Log File Type
    Default Directory (Service Process Variable)
    Default Value for Service Process Variable
    Workflow logs
    $PMWorkflowLogDir
    $PMRootDir/WorkflowLogs
    Session logs
    $PMSessionLogDir
    $PMRootDir/SessLogs
  • Name.
    The name of the log file. You must configure a name for the log file or the workflow or session is invalid. You can use a service, service process, or user-defined workflow or worklet variable for the log file name.
The Integration Service stores the workflow and session log names in the domain configuration database. If you want to use Unicode characters in the workflow or session log file names, the domain configuration database must be a Unicode database.

0 COMMENTS

We’d like to hear from you!