fixed some process logging stuff