#1130 PR merged: More meaningful LogToSyslog message when rear ends

Labels: enhancement, fixed / solved / done

jsmeix opened issue at 2016-12-15 15:44:

See
https://github.com/rear/rear/issues/1089#issuecomment-266983001

jsmeix commented at 2016-12-15 16:25:

How it looked before

# grep rear /var/log/messages
...
2016-12-15T16:49:37.305208+01:00 f79 rear[11258]: 31050: DONE: rc=0

and after this change

# grep rear /var/log/messages
...
2016-12-15T17:14:39.986718+01:00 f79 rear[22333]: 18269: rear mkbackuponly finished with zero exit code

and with an artificial EXIT_CODE=99 setting
in lib/savelayout-workflow.sh

# grep rear /var/log/messages
...
2016-12-15T17:23:56.783697+01:00 f79 rear[29893]: 29355: rear savelayout failed with exit code 99

[Export of Github issue for rear/rear.]