seperate logs into piece