diff options
Diffstat (limited to 'cmd/dolmetschctld')
-rw-r--r-- | cmd/dolmetschctld/statemachine.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/dolmetschctld/statemachine.go b/cmd/dolmetschctld/statemachine.go index 3e7461b..21b38e2 100644 --- a/cmd/dolmetschctld/statemachine.go +++ b/cmd/dolmetschctld/statemachine.go @@ -204,7 +204,6 @@ func (sm *StateMachine) setLanguage(l types.Language) error { } } sm.language = l - log.Printf("new target language: '%s'", sm.language) return nil } @@ -213,7 +212,6 @@ func (sm *StateMachine) setOriginal2InterpreterRatio(r float32) error { return fmt.Errorf("original-interpreter ratio '%1.3f' is invalid, must be between 0.0 and 1.0", r) } sm.original2InterpreterRatio = r - log.Printf("new original-interpreter ratio: '%1.3f'", r) return nil } @@ -300,6 +298,7 @@ func (sm *StateMachine) run() { } if oldState != sm.state || oldOriginal2InterpreterRadio != sm.original2InterpreterRatio || oldLanguage != sm.language { + log.Printf("update: lang=%s, ratio=%1.3f (%s)", sm.language, sm.original2InterpreterRatio, sm.state) sm.publishState() } } |