add msgs to logs