logging test using with-redefs
remove unnecessary do from log stream
switch volume pool to agents to fix race condition and to ensure events enter pool in the order they arrive
fix race condition in interval-pool using swap; use add-watch to dispatch pool; make some functions private