Changed @host field to be @hostname, like the actual field.

The `host` field in the log output is not set correctly. The assignment should happen from the `@hostname` field.