Fixing reference to local logger.