fix to protect log from record modification

By emitting log record itself, we can break log record data by <match fluent.**> configurations.
To preserve log record itself in stdout, fix to do `log.dup`.