...
| Code Block | ||||
|---|---|---|---|---|
| ||||
public Object execute(Map properties) {
.
AppDefinition appDef = (AppDefinition) properties.get("appDef");
String appInfoAndMessage = appDef.toString() + "- Something happened";
LogUtil.error(EmailTool.class.getName(), ex, appInfoAndMessage);
.
} |
This way, we would be able to trace to the app that triggers and writes the line of message in the log file.
...