Log to stderr; add ability to extract to stdout--will be used for benchmarking