dispatcher: refactor logging of nm-dispatcher
authorThomas Haller <thaller@redhat.com>
Mon, 3 Aug 2015 13:52:11 +0000 (15:52 +0200)
committerBeniamino Galvani <bgalvani@redhat.com>
Tue, 25 Aug 2015 13:27:19 +0000 (15:27 +0200)
commite7685f4304e1d05bebb653e044fa93c4aa136e06
tree36d283a4fe32d5d994f5238ca5ff4de13fb69423
parente81ba7594956f116b41c5a602269a0659435c433
dispatcher: refactor logging of nm-dispatcher

Refactor logging so that all logging lines for a request/script
have the same prefix, indicating the event to which they belong.

Previously, we only scheduled one script at a time so it was always
clear for which request a script belongs. Now we schedule scripts
in parallel, so we must know the event (request) for which we log
a message.
callouts/nm-dispatcher.c