Scripting > Logging to the StreamServer log file

Logging to the StreamServer log file
You can write log messages from scripts in an XDP template directly to the StreamServer log.
Syntax
xfa.log.message(Param1, str [, severity])
Param1
str
The message will be preceded by:
"XFAOUT: Message from XFA template script: "
Severity
i – Information
t – Information
w – Warning
f – Error
Description
This script function makes it possible to write messages directly to the StreamServer from scripts in an XDP template.
Example
Example 13
xfa.log.message(1, "text to write in log file", "i");
This will result in the following message in the StreamServe log:
0902 175411 (0096) 3 XFAOUT: Message from XFA template script: text to write in log file
 
 
OpenText StreamServe 5.6 Updated: 2013-03-01