log errors to stderr.