log to stderr, print to stdout