fix logpatrol