add showLog flag that copies EMDN messages to stdout