diff --git a/server/go.mod b/server/go.mod index c4708f025b..39b7a03093 100644 --- a/server/go.mod +++ b/server/go.mod @@ -25,7 +25,7 @@ require ( github.com/paulmach/go.geojson v1.4.0 github.com/pkg/errors v0.9.1 github.com/ravilushqa/otelgqlgen v0.8.0 - github.com/reearth/reearthx v0.0.0-20230628100740-772ae55edde1 + github.com/reearth/reearthx v0.0.0-20230628105450-fa673eee6505 github.com/samber/lo v1.27.0 github.com/spf13/afero v1.9.3 github.com/square/mongo-lock v0.0.0-20201208161834-4db518ed7fb2 diff --git a/server/go.sum b/server/go.sum index 6ba3f65c01..d5c892f26e 100644 --- a/server/go.sum +++ b/server/go.sum @@ -493,8 +493,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/ravilushqa/otelgqlgen v0.8.0 h1:x48k+D1GMgm87xhMO2Lekrr9YGzFbpG3yijn9GpxuAY= github.com/ravilushqa/otelgqlgen v0.8.0/go.mod h1:6JO5YO2iY4POC7R6yB/L/RKXCcyISL8qQt5NnHOhh0o= -github.com/reearth/reearthx v0.0.0-20230628100740-772ae55edde1 h1:jt73WlNFZQ8m7tvhyOyVcLLmtlEr+a8g3ZzGU1aLqwg= -github.com/reearth/reearthx v0.0.0-20230628100740-772ae55edde1/go.mod h1:O4zFr6ks8jDKfgy9NBpZKp31jpmAPnfOtMQK9B6xX54= +github.com/reearth/reearthx v0.0.0-20230628105450-fa673eee6505 h1:lTPbUsI7F1W5drXgWhPkSYRprC2j5xS/Fq2c2d+eIys= +github.com/reearth/reearthx v0.0.0-20230628105450-fa673eee6505/go.mod h1:O4zFr6ks8jDKfgy9NBpZKp31jpmAPnfOtMQK9B6xX54= github.com/robertkrimen/godocdown v0.0.0-20130622164427-0bfa04905481/go.mod h1:C9WhFzY47SzYBIvzFqSvHIR6ROgDo4TtdTuRaOMjF/s= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= diff --git a/server/internal/app/main.go b/server/internal/app/main.go index 2b9d4e8bfe..00b165ed9c 100644 --- a/server/internal/app/main.go +++ b/server/internal/app/main.go @@ -89,7 +89,7 @@ func NewServer(ctx context.Context, cfg *ServerConfig) *WebServer { } func (w *WebServer) Run() { - defer log.Info("Server shutdown") + defer log.Infof("Server shutdown") debugLog := "" if w.appServer.Debug { diff --git a/server/internal/app/repo.go b/server/internal/app/repo.go index 704823e818..93d3510ffb 100644 --- a/server/internal/app/repo.go +++ b/server/internal/app/repo.go @@ -88,7 +88,7 @@ func initFile(ctx context.Context, conf *config.Config) (fileRepo gateway.File) return } - log.Info("file: local storage is used") + log.Infof("file: local storage is used") afs := afero.NewBasePathFs(afero.NewOsFs(), "data") fileRepo, err = fs.NewFile(afs, conf.AssetBaseURL) if err != nil { diff --git a/server/internal/app/web.go b/server/internal/app/web.go index 70832280d1..c7a79fc802 100644 --- a/server/internal/app/web.go +++ b/server/internal/app/web.go @@ -55,7 +55,7 @@ func (w *WebHandler) Handler(e *echo.Echo) { return } - e.Logger.Info("web: web directory will be delivered\n") + log.Infof("web: web directory will be delivered") cfg := map[string]any{} if w.AuthConfig != nil {