diff options
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r-- | cmd/rr/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go index ed47b2ed..6065d3d1 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -32,6 +32,7 @@ import ( // cli plugins _ "github.com/spiral/roadrunner/cmd/rr/http" + "github.com/spiral/roadrunner/debug" ) func main() { @@ -44,6 +45,9 @@ func main() { // serving static files rr.Container.Register(static.Name, &static.Service{}) + // provides additional verbosity + rr.Container.Register(debug.Name, &debug.Service{Logger: rr.Logger}) + // you can register additional commands using cmd.CLI rr.Execute() } |