Code formatted
Repair log DB