Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Even more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed May 22, 2018
1 parent b7f7c66 commit 3056f8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit 3056f8f

Please sign in to comment.