diff --git a/go.mod b/go.mod index 606cbd6..545cbbb 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/ssgo/httpclient v1.7.8 github.com/ssgo/log v1.7.9 github.com/ssgo/redis v1.7.8 - github.com/ssgo/s v1.7.24 + github.com/ssgo/s v1.7.25 github.com/ssgo/standard v1.7.7 github.com/ssgo/u v1.7.23 ) diff --git a/service.go b/service.go index f419144..1b53e9a 100644 --- a/service.go +++ b/service.go @@ -238,6 +238,7 @@ func initConfig(opt *gojs.Obj, logger *log.Logger, vm *goja.Runtime) { func init() { s.Config.KeepKeyCase = true + s.DontStartLogAuto = true obj := map[string]any{ "config": func(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value { args := gojs.MakeArgs(&argsIn, vm)