change default log level to debug
This commit is contained in:
2
main.go
2
main.go
@@ -17,7 +17,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
slog.Info("Starting agent")
|
slog.Info("Starting agent")
|
||||||
workerCount := flag.Int("workers", 0, "number of workers")
|
workerCount := flag.Int("workers", 0, "number of workers")
|
||||||
logLevel := flag.String("loglevel", "info", "Set log level: debug, info, warn, error")
|
logLevel := flag.String("loglevel", "debug", "Set log level: debug, info, warn, error")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
// Apply 'loglevel' flag
|
// Apply 'loglevel' flag
|
||||||
|
|||||||
Reference in New Issue
Block a user