rewritelog -> loglevel