Rework of loglevel type.