Skip to content

Commit

Permalink
Change a log to debug level.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmaurice committed Mar 5, 2024
1 parent d6b2607 commit c897e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions satisfactory-exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"flag"
"fmt"
"net/http"
"strings"
"time"
Expand Down Expand Up @@ -62,7 +61,8 @@ func main() {

// Get enabled collectors from request
enabledCollectors := r.URL.Query().Get("collect")
fmt.Println("Enabled collectors: ", enabledCollectors)
level.Debug(logger).Log("msg", "Enabled collectors: ", enabledCollectors)

if enabledCollectors == "all" || enabledCollectors == "" {
enabledCollectors = "production,power,factory_building,vehicle,drone_station,vehicle_station,train,train_station,player"
}
Expand Down

0 comments on commit c897e85

Please sign in to comment.