dns_conf: add option to enable output log to console.

This commit is contained in:
Nick Peng
2023-03-13 23:20:03 +08:00
parent 3d7a2a8d80
commit 1c605938e0
5 changed files with 16 additions and 1 deletions

View File

@@ -6720,6 +6720,10 @@ static int _dns_server_audit_init(void)
tlog_set_permission(dns_audit, dns_conf_audit_file_mode, dns_conf_audit_file_mode);
}
if (dns_conf_audit_console != 0) {
tlog_logscreen(dns_audit, 1);
}
return 0;
}