Add command msg to log file