Actions
Task #2209
closedImprove logging - don't log SEVERE when there is no error
Start date:
04/15/2020
Due date:
% Done:
100%
Estimated time:
Owner:
Description
The connector always logs a SEVERE line, even if there is no error:
Apr 15, 2020 6:05:00 PM net.tirasa.connid.bundles.cmd.methods.CmdExec waitFor(CmdExec.java:127) SEVERE: Script error:
I think this should be logged as an error only if it the error output isn't empty.
CmdExec.java, method waitFor:
LOG.error("Script error:\n{0}", error);
Actions