Sometimes it might be useful to log the program's traffic. For debug purposes or whatever.
Use this macros for name-replacement
%h - socket handle
%p - program name
%d - program identifier (PID)
%n - packet sequence number (per session)
%u - UNIX timestamp
%s - UNIX timestamp with milliseconds (dot delimited)
%% - single percent symbol
Traffic logging may cause huge CPU and HDD loading!