cmd/log: testing json writer buffer.

Closes #374.