flush errorlog to stderr