bugfix: loglevel was still using numbers instead of the new enum