pkg/osutil: use leveled log

This commit is contained in:
Xiang Li
2015-06-11 09:00:54 -07:00
parent a45f53986f
commit 865a5ffc61
2 changed files with 7 additions and 2 deletions

View File

@ -17,7 +17,6 @@
package osutil
import (
"log"
"os"
"os/signal"
"sync"
@ -58,7 +57,7 @@ func HandleInterrupts() {
interruptExitMu.Lock()
log.Printf("received %v signal, shutting down...", sig)
plog.Noticef("received %v signal, shutting down...", sig)
for _, h := range ihs {
h()