Actions
Task #2209
closed![Author: Alena Peterová](/plugin_assets/redmine_people/images/person.png?1637230883)
![Assignee: Roman Kučera](/plugin_assets/redmine_people/images/person.png?1637230883)
Improve 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