Skip to content

Commit f2997fd

Browse files
committed
backend: headlamp: Add logging of missing config items
To make it easier for people to see what things are being configured.
1 parent 89eecba commit f2997fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

backend/cmd/headlamp.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,13 @@ func createHeadlampHandler(config *HeadlampConfig) http.Handler {
392392
logger.Log(logger.LevelInfo, nil, nil, "Proxy URLs: "+fmt.Sprint(config.ProxyURLs))
393393
logger.Log(logger.LevelInfo, nil, nil, "TLS certificate path: "+config.TLSCertPath)
394394
logger.Log(logger.LevelInfo, nil, nil, "TLS key path: "+config.TLSKeyPath)
395+
logger.Log(logger.LevelInfo, nil, nil, "me Username Paths: "+config.meUsernamePaths)
396+
logger.Log(logger.LevelInfo, nil, nil, "me Email Paths: "+config.meEmailPaths)
397+
logger.Log(logger.LevelInfo, nil, nil, "me Groups Paths: "+config.meGroupsPaths)
398+
logger.Log(logger.LevelInfo, nil, nil, "me User Info URL: "+config.meUserInfoURL)
399+
logger.Log(logger.LevelInfo, nil, nil, "Base URL: "+config.BaseURL)
400+
logger.Log(logger.LevelInfo, nil, nil, "Use In Cluster: "+fmt.Sprint(config.UseInCluster))
401+
logger.Log(logger.LevelInfo, nil, nil, "Watch Plugins Changes: "+fmt.Sprint(config.WatchPluginsChanges))
395402

396403
plugins.PopulatePluginsCache(config.StaticPluginDir, config.PluginDir, config.cache)
397404

0 commit comments

Comments
 (0)