Fixed "logger" to "LOGGER"

Fixed a typo from the previous pull request