Use Socket.gethostname instead of shelling out.
Remove several worker log statements.

They can now be seen in log subscriber or aren’t that necessary.