Adds process logging