AlbumenJ commented on a change in pull request #591:
URL: https://github.com/apache/dubbo-go/pull/591#discussion_r437845858
##########
File path: config_center/nacos/client.go
##########
@@ -50,6 +51,16 @@ type NacosClient struct {
onceClose func()
}
+// init default Nacos Log dir, it can be override when create client
+func init() {
+ switch runtime.GOOS {
+ case "windows":
+ logDir = "logs\\nacos\\log"
+ default:
+ logDir = "logs/nacos/log"
+ }
Review comment:
thx, I have changed it
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]