From 3056f8fd0aa67ab059a5ddcecf797e06dac7ea6a Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Tue, 22 May 2018 12:31:16 +0300 Subject: [PATCH] Even more logging --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 3f03205..4895c52 100644 --- a/main.go +++ b/main.go @@ -40,6 +40,7 @@ var ( ) func configure() error { + log.Printf("[INIT] [Loading quota files from %s]", quotaDir) glob := fmt.Sprintf("%s%c%s", quotaDir, filepath.Separator, "*.xml") files, _ := filepath.Glob(glob) if len(files) == 0 { @@ -106,6 +107,7 @@ func main() { stop := make(chan os.Signal) signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM) + log.Printf("[INIT] [Listen on %s]", listen) server := &http.Server{ Addr: listen, Handler: mux(),