Skip to content

Commit

Permalink
log webui status
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalef committed Sep 17, 2023
1 parent c1b1447 commit 7cdae4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zep/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func run() {

handleCLIOptions(cfg)

log.Infof("Starting zep server version %s", config.VersionString)
log.Infof("Starting Zep server version %s", config.VersionString)

config.SetLogLevel(cfg)
appState := NewAppState(cfg)
Expand Down
3 changes: 3 additions & 0 deletions pkg/server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ func setupRouter(appState *models.AppState) *chi.Mux {

// Only setup web routes if enabled
if appState.Config.Server.WebEnabled {
log.Info("Web interface enabled")
setupWebRoutes(router, appState)
} else {
log.Info("Web interface disabled")
}

setupAPIRoutes(router, appState)
Expand Down

0 comments on commit 7cdae4c

Please sign in to comment.