Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
silvacb committed Oct 16, 2023
1 parent 688519a commit 9a1eb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/switchboard/Switchboard.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Lifecycle(conf: SwitchboardConfiguration, scheduler: Scheduler) extends Lo
scheduler.scheduleOnce(1.seconds) { refreshSwitches() }

def refreshSwitches(): Unit = {
logger.info("Refreshing switches from switchboard")
logger.info("Refreshing switches from switchboard - v2")
client.getSwitches() foreach { response => SwitchManager.updateSwitches(response) }
}
}

0 comments on commit 9a1eb93

Please sign in to comment.