modified logging of process