log errors to stderr