to split logs