Fixed bug whereby log level was specified as string, not integer.