Outbound logging and hook improvements