Skip to content

Commit

Permalink
Log worker PID on sync completion
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfair committed Sep 16, 2014
1 parent a7d097a commit c261d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tapiriik/sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ def Run(self, exhaustive=False, null_next_sync_on_unlock=False, heartbeat_callba
logger.exception("Core sync exception")
raise
else:
logger.info("Finished sync for %s" % self.user["_id"])
logger.info("Finished sync for %s (worker %d)" % (self.user["_id"], os.getpid()))
finally:
self._closeUserLogging()

Expand Down

0 comments on commit c261d28

Please sign in to comment.