<query id="deleteLog" action="delete">
    <tables>
        <table name="spamfilter_log" />
    </tables>
    <conditions>
        <condition operation="less" column="regdate" var="regdate" notnull="notnull" />
    </conditions>
</query>
