Log processing tool