[Minor] Using action as locator in AbstractTransaction for operations log
This commit is contained in:
parent
f6349dde10
commit
fb795be104
|
@ -1319,10 +1319,9 @@ public abstract class AbstractTransaction implements StrolchTransaction {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.operationsLog != null) {
|
if (this.operationsLog != null) {
|
||||||
this.operationsLog.addMessage(
|
this.operationsLog.addMessage(new LogMessage(this.realm.getRealm(),
|
||||||
new LogMessage(this.realm.getRealm(), Locator.valueOf(AGENT, "tx", StrolchAgent.getUniqueId()),
|
Locator.valueOf(AGENT, "tx", this.action, StrolchAgent.getUniqueId()), LogSeverity.Exception,
|
||||||
LogSeverity.Exception, ResourceBundle.getBundle("strolch-agent"), "agent.tx.failed")
|
ResourceBundle.getBundle("strolch-agent"), "agent.tx.failed").value("reason", e));
|
||||||
.value("reason", e));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String msg = "Strolch Transaction for realm {0} failed due to {1}\n{2}"; //$NON-NLS-1$
|
String msg = "Strolch Transaction for realm {0} failed due to {1}\n{2}"; //$NON-NLS-1$
|
||||||
|
|
Loading…
Reference in New Issue