Skip to content

Commit

Permalink
test setting log level
Browse files Browse the repository at this point in the history
  • Loading branch information
kotx committed Dec 8, 2024
1 parent 37994fa commit 04d1e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ var tsHost = flag.String("hostname", "dex", "hostname to use in the tailnet")
var endpoint = flag.String("endpoint", "http://dex:5556", "the Dex host to proxy requests to")

func main() {
logLevel := slog.Level(*logLevel)
slog.SetLogLoggerLevel(logLevel)
// logLevel := slog.Level(*logLevel)
slog.SetLogLoggerLevel(slog.LevelError)

flag.Parse()
if *endpoint == "" {
Expand Down

0 comments on commit 04d1e44

Please sign in to comment.