Packet logging API: convert unified2

Convert unified2 alert to new logging API.