fixed spelling of loggChan to logChan