adding more debug logging for worker processes