Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

User Guide

User Guide

Viewing the User Log

Viewing the User Log

The user log is an ASCII text file. On Windows platforms, the default location of the user log is:
c:\Informatica\DataTransformation\UserLogs
On UNIX platforms, the default location is:
<INSTALL_DIR>/UserLogs
By default, each execution of a transformation generates a user log having a unique name:
<service_name>+<unique_string>.log
A transformation can set the user-log location at runtime by using
SetValue
actions to assign the following system variables. Set the phase property of
SetValue
to
initial
. Ensure that
SetValue
runs before any component that writes to the user log.
Variable
Description
VarServiceInfo
>
StandardError
>
StandardErrorDir
Directory path of the user log.
VarServiceInfo
>
StandardError
>
StandardErrorName
File name of the user log.
In the following example, a
SetValue
action sets the user-log directory to
c:\mydirectory
.
level 1 UsrLog = SetValue << level 2 cleared checkbox disabled level 2 cleared checkbox optional level 2 quote = "c:\mydirectory" level 2 data_holder = $VarServiceInfo/*s/StandardError/*s/StandardErrorDir level 2 name = "" level 2 remark = "" level 2 on_fail = ... level 2 transformers = []

0 COMMENTS

We’d like to hear from you!