Added logging for background jobs #6