adjust log write path