...
 
Commits (2)
......@@ -24,7 +24,7 @@ func init() {
filenamePrefix = logDir + filepath.Base(os.Args[0]) + "."
// stderr日志重定向
MyLog.SetOutput(os.Stdout)
RewriteStderrFile()
//RewriteStderrFile()
if config.AppIsRelease() {
MyLog.SetFormatter(&logrus.JSONFormatter{
......
......@@ -571,7 +571,7 @@ func (s *server) Route(ctx context.Context, in *userCenter.RouteMessage) (*userC
}
} else {
status = common.ROUTE_CHANNEL_NOT_FOUND
mylogrus.MyLog.Warnf("No write channel for user %d", in.GetUid())
//mylogrus.MyLog.Warnf("No write channel for user %d", in.GetUid())
}
return &userCenter.RouteMessageRsp{Status: status}, nil
}
......