Add fields for stdout and stderr logs.

Part of #1235