Fix bug for repeat replay journal: the bug is a configure incorrect
Refactory for log