Revert back to using legacy functions in log_tend. This fixes bug 3443.
Revert back to using legacy functions in log_tend.
This fixes bug 3443.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb