this should be loglevel not @@loglevel['ERROR']