Log Event

Fired with log information while processing a message.


public class DefaultAs4clientEventListener implements As4clientEventListener {
  public void log(As4clientLogEvent e) {}

public class As4clientLogEvent {
  public String logType;
  public String logMessage;


This event fires once for each log message generated by the class. The verbosity is controlled by the LogLevel setting.

Log messages available through this event correspond to log files written to LogDirectory. This event provides a way to obtain log messages without relying on files on disk. This event fires regardless of the value of LogDirectory (i.e. when LogDirectory is empty the event will still fire).

The LogMessage event parameter holds the raw log data.

The LogType event parameter indicates the type of log. Possible values are:

"INFO" Information about the status of the process.
"ERROR" An error was encountered.
"DEBUG" Debug information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8162]