Added yaz_log_trunc() to truncate the log file