mirror of
https://github.com/bcicen/ctop.git
synced 2025-11-14 07:05:40 +01:00
set default log level to INFO
This commit is contained in:
@@ -15,12 +15,12 @@ var (
|
||||
func Init() {
|
||||
for _, p := range params {
|
||||
GlobalParams = append(GlobalParams, p)
|
||||
log.Debugf("loaded config param: \"%s\": \"%s\"", p.Key, p.Val)
|
||||
log.Infof("loaded config param: \"%s\": \"%s\"", p.Key, p.Val)
|
||||
}
|
||||
|
||||
for _, s := range switches {
|
||||
GlobalSwitches = append(GlobalSwitches, s)
|
||||
log.Debugf("loaded config switch: \"%s\": %t", s.Key, s.Val)
|
||||
log.Infof("loaded config switch: \"%s\": %t", s.Key, s.Val)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user