Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sets the self URL for the current serviceCreates a log file in the designated capture path.

Syntax

Code Block
Response = HTTP_Services('SetSelfURLCreateLogFile', LogType, SelfURLData)

Returns

N/A

Parameters

ParameterDescription
SelfURLThe self URL relevant to the current service. Required

Remarks

LogTypeThe type of log to be written. This can be user-defined. Required
DataInformation used to create the log body. Some log types ignore this. Optional

Remarks

The predefined LogType values are Request, Response, ProcErr, and Debugger. All log files use the GetSessionID service to create part of the filename. The final format follows this pattern:

YYYY-MM-DD_HH-MM-SS_<ProcessID>_<Counter>_<LogType>.logThe self URL is the URL that identifies itself. It is typically returned in responses to serve as a self-referencing ID apart from other URLs that might be returned which direct the caller to other services.