logger update with loglevel