add support to disable log message transfer using an option