commit | 93bced3313f8177a7a2e6c975947156890c95a46 | [log] [tgz] |
---|---|---|
author | Rohan Agrawal <rohan.agrawal01@infosys.com> | Tue Feb 11 10:16:01 2020 +0000 |
committer | Girish Gowdra <girish@opennetworking.org> | Thu Feb 13 10:00:20 2020 +0000 |
tree | 1c3cf6507e3bb21abf197f20c4a7f5f12ed7ad5b | |
parent | e5c6a85e10332be2073ccc784c5def49e5230551 [diff] |
[VOL-2565]OpenOLT adapter ignores the log-level Change-Id: Ic1466903f6270721e401516f0a3a984ea2a21f3c
diff --git a/main.go b/main.go index 97f6ca3..332634e 100644 --- a/main.go +++ b/main.go
@@ -452,6 +452,8 @@ log.With(log.Fields{"error": err}).Fatal("Cannot setup logging") } + log.SetAllLogLevel(loglevel) + defer log.CleanUp() // Print version / build information and exit