add log to raw tx