Fix typo that made only part of the logging work from prior commit 4987bc8e4d80959932148f27b50bf492daa4b550