Add error and warning loglevels