log to stderr, do a better job for redirected outputs