init log mining