Add object attribute logging