OCT 1. 删除部分调试日志

This commit is contained in:
huangxin 2023-01-16 10:48:37 +08:00
parent 07313b4577
commit c56a9a7070
2 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ void hw_http_add_route(char *route, http_request_callback callback, void *user_d
routes = kh_init(string_hashmap);
}
set_route(routes, route, route_entry);
dzlog_debug("Added route path: [%s]\n", route); // TODO: Replace with logging instead.
// dzlog_debug("Added route path: [%s]\n", route); // TODO: Replace with logging instead.
}
void free_http_server() {
@ -149,7 +149,7 @@ void free_http_server() {
kh_destroy(string_hashmap, routes);
uv_close((uv_handle_t *)&server, NULL);
uninit_http_request_cache();
dzlog_debug("HTTP Server Close http://%s:%d\n", config->http_listen_address, config->http_listen_port);
dzlog_info("HTTP Server Close http://%s:%d\n", config->http_listen_address, config->http_listen_port);
}
int hw_http_open() {

View File

@ -4381,10 +4381,10 @@ void *init(void *lparam) {
if ((f = fopen(iniFile, "rt"))) {
fclose(f);
} else {
} /* else {
sprintf(logBuff, "Warning: file %s not found, defaults will be used", iniFile);
logDHCPMess(logBuff, 1);
}
}*/
cfig.lease = opendhcp_set_lease_time();
loadDHCP();