Write to log when there are no more workunits.

Write to log when there are no more workunits.