Skip to content

Commit c2cace9

Browse files
committed
fix: log poller wake-up un debug
1 parent d7aeb54 commit c2cace9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/kotlin/com/coder/toolbox/CoderRemoteProvider.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,17 @@ class CoderRemoteProvider(
177177

178178
select {
179179
onTimeout(POLL_INTERVAL) {
180-
context.logger.trace("workspace poller waked up by the $POLL_INTERVAL timeout")
180+
context.logger.debug("workspace poller waked up by the $POLL_INTERVAL timeout")
181181
}
182182
triggerSshConfig.onReceive { shouldTrigger ->
183183
if (shouldTrigger) {
184-
context.logger.trace("workspace poller waked up because it should reconfigure the ssh configurations")
184+
context.logger.debug("workspace poller waked up because it should reconfigure the ssh configurations")
185185
cli.configSsh(lastEnvironments.map { it.asPairOfWorkspaceAndAgent() }.toSet())
186186
}
187187
}
188188
triggerProviderVisible.onReceive { isCoderProviderVisible ->
189189
if (isCoderProviderVisible) {
190-
context.logger.info("workspace poller waked up, Coder Toolbox is currently visible, fetching latest workspace statuses")
190+
context.logger.debug("workspace poller waked up, Coder Toolbox is currently visible, fetching latest workspace statuses")
191191
}
192192
}
193193
}

0 commit comments

Comments
 (0)