diff --git a/srcs/httpserver/src/haywire/http_server.c b/srcs/httpserver/src/haywire/http_server.c index a577c32..7ae1746 100644 --- a/srcs/httpserver/src/haywire/http_server.c +++ b/srcs/httpserver/src/haywire/http_server.c @@ -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() { diff --git a/srcs/open_dhcp/opendhcpd.cpp b/srcs/open_dhcp/opendhcpd.cpp index fff261f..7cd8f24 100644 --- a/srcs/open_dhcp/opendhcpd.cpp +++ b/srcs/open_dhcp/opendhcpd.cpp @@ -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();