mingzaily commented on issue #1028: URL: https://github.com/apache/rocketmq-clients/issues/1028#issuecomment-3115583258
> call client.ResetLogger() first Without setting the OS environment variable, even running reset won’t work. The current approach is to use os.Setenv(golang.CLIENT_LOG_ROOT, "../../logs") directly in the code. This doesn’t work out of the box on Mac. If the environment variable isn’t set, the default log path on Mac is /data/logs/rocketmqlogs, but there’s usually no permission to write to that directory. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org