Writing logs to sys.stderr