added rewrite log level