Update tlog

This commit is contained in:
Nick Peng
2019-07-13 17:17:38 +08:00
parent 0a0d0f001e
commit 90d5c7e396
4 changed files with 491 additions and 174 deletions

View File

@@ -248,7 +248,7 @@ static int _smartdns_init(void)
logfile = dns_conf_log_file;
}
ret = tlog_init(logfile, dns_conf_log_size, dns_conf_log_num, 1, 0, 0);
ret = tlog_init(logfile, dns_conf_log_size, dns_conf_log_num, 0, 0);
if (ret != 0) {
tlog(TLOG_ERROR, "start tlog failed.\n");
goto errout;