Added slightly better logging to phatRPC