Log Type
A log where the adapter will record information about its operations.
Remarks
This describes how and where the adapter will record information describing its execution.
Fields
Location String |
This field describes the location where the logging information is to be written. If the EventLog LogType has been chosen, this field must contain the name of the Event Log to which the information should be written. The default value for this field is "Application". If a value other than "Application" is set the computer must be restarted for the change to take effect. Note that the same event log must be used for all send ports and receive locations that use the same adapter. If the File LogType has been chosen, this field must contain the location of the file to write logging information to on the file system. The adapter also supports logging to files based on the current date and time. This allows for log files to be organized by days, months, or other intervals as specified. When specifying a log filename include a valid .NET date and time format string within the < and > characters. For instance C:\logs\sftp_<yyyyMMdd>.log or C:\logs\as2_<yyyyMMdd>T<hhmm>.log. | ||||||||||
LogMode LogModes |
This field controls what information the adapter logs. The possible values have the following affect on the adapter's behavior:
| ||||||||||
LogType LogTypes |
This property controls where the adapter will log the information. The possible values have the following affect on the adapter's behavior:
|
Constructors
Constructors are only relevant when configuring adapters in orchestrations.
public Log();
public Log(LogTypes logType, string location, LogModes logMode);