Move logging from stdout to stderr.
Fix pub/sub throughput benchmark.