Skip to content

Commit

Permalink
fix: change log level
Browse files Browse the repository at this point in the history
  • Loading branch information
philipparndt committed Jul 14, 2024
1 parent 700a7d4 commit b2e2605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func PublishJSON(cfg config2.MQTTConfig, data any) {
func mainLoop(cfg config.Config) {
for {
dataMap := fritzbox.LoadData(cfg)
logger.Info("DataMap: ", fritzbox.JsonFromDataMap(dataMap))
logger.Debug("DataMap: ", fritzbox.JsonFromDataMap(dataMap))
PublishJSON(cfg.MQTT, dataMap)

time.Sleep(time.Duration(cfg.Fritzbox.PollingInterval) * time.Second)
Expand Down

0 comments on commit b2e2605

Please sign in to comment.