Set logging level when mkws-core.js is loaded, rather than during init.