summaryrefslogtreecommitdiff
path: root/lib/roadrunner.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/roadrunner.go')
-rw-r--r--lib/roadrunner.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/roadrunner.go b/lib/roadrunner.go
index f030f526..7f2d32a2 100644
--- a/lib/roadrunner.go
+++ b/lib/roadrunner.go
@@ -45,7 +45,12 @@ func NewRR(cfgFile string, override []string, pluginList []any) (*RR, error) {
endureOptions = append(endureOptions, endure.Visualize())
}
- endureContainer := endure.New(containerCfg.LogLevel, endureOptions...)
+ // create endure container
+ ll, err := container.ParseLogLevel(containerCfg.LogLevel)
+ if err != nil {
+ return nil, err
+ }
+ endureContainer := endure.New(ll, endureOptions...)
// register another container plugins
err = endureContainer.RegisterAll(append(pluginList, cfg)...)