-
Couldn't load subscription status.
- Fork 3.6k
go客户端教程路由篇——小问题
#331
-
log.Println()默认为标准错误输出;
想要把输出的内容重定向到日志文件中,应该把
go run receive_logs_direct.go warning error > logs_from_rabbit.log改成go run receive_logs_direct.go warning error 2> logs_from_rabbit.log
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1 -
👎 1 -
😄 1 -
😕 1
Replies: 1 comment
-
I'm not sure what you are suggesting. Redirecting logs to a file
for these examples should be no different from any other command line tool.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment