RewriteLog and RewriteLogLevel were removed in 2.4

We need to use them only when we're on 2.4