p2ptrade logging fix