Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More meaningful LogToSyslog message when rear ends #1130

Conversation

jsmeix
Copy link
Member

@jsmeix jsmeix commented Dec 15, 2016

@jsmeix jsmeix added the enhancement Adaptions and new features label Dec 15, 2016
@jsmeix jsmeix added this to the Rear v2.00 milestone Dec 15, 2016
@jsmeix jsmeix self-assigned this Dec 15, 2016
@jsmeix jsmeix requested a review from gdha December 15, 2016 15:44
@jsmeix
Copy link
Member Author

jsmeix commented Dec 15, 2016

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

@jsmeix jsmeix merged commit edf35cc into rear:master Dec 16, 2016
@jsmeix jsmeix deleted the more_meaningful_LogToSyslog_message_when_rear_ends_issue1089 branch December 16, 2016 09:33
This was referenced Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adaptions and new features fixed / solved / done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant