diff --git a/config.go b/config.go index 258c5394..53e32bfe 100644 --- a/config.go +++ b/config.go @@ -108,7 +108,7 @@ func (cc *CanonicalConfig) Load() error { } cc.logger.Info("Loaded config successfully") - cc.logger.Debugw("Config values", + cc.logger.Infow("Config values", "sliderMapping", cc.SliderMapping, "processRefreshFreq", cc.SessionRefreshThreshold, "connectionInfo", cc.ConnectionInfo) diff --git a/session_map.go b/session_map.go index bbf2eb23..2e9dc92e 100644 --- a/session_map.go +++ b/session_map.go @@ -65,7 +65,7 @@ func (m *sessionMap) getAndAddSessions() error { m.add(session) } - m.logger.Debugw("Got all audio sessions successfully", "sessionMap", m) + m.logger.Infow("Got all audio sessions successfully", "sessionMap", m) // mark completion m.lastSessionRefresh = time.Now() @@ -80,7 +80,7 @@ func (m *sessionMap) setupOnConfigReload() { for { select { case <-configReloadedChannel: - m.logger.Debug("Detected config reload, attempting to re-acquire all audio sessions") + m.logger.Info("Detected config reload, attempting to re-acquire all audio sessions") m.refreshSessions() } } diff --git a/tray.go b/tray.go index 5faae226..ccd82e81 100644 --- a/tray.go +++ b/tray.go @@ -39,13 +39,13 @@ func (d *Deej) initializeTray(onDone func()) { // quit case <-quit.ClickedCh: - logger.Debug("Quit menu item clicked, stopping") + logger.Info("Quit menu item clicked, stopping") d.signalStop() // edit config case <-editConfig.ClickedCh: - logger.Debug("Edit config menu item clicked, opening config for editing") + logger.Info("Edit config menu item clicked, opening config for editing") if err := util.OpenExternal(logger, "notepad.exe", configFilepath); err != nil { logger.Warnw("Failed to open config file for editing", "error", err) @@ -53,6 +53,7 @@ func (d *Deej) initializeTray(onDone func()) { // refresh sessions case <-refreshSessions.ClickedCh: + logger.Info("Refresh sessions menu item clicked, triggering session map refresh") d.sessions.refreshSessions() } }