Revert "Fix bug in process logger"

This reverts commit f2c4a91b07cd4db1d6c9af1638b5e98117d9d7b7.