Rewriten log writer