diff --git a/socket.c b/socket.c index c68f9f65..523813c0 100644 --- a/socket.c +++ b/socket.c @@ -1013,10 +1013,6 @@ void uwsgi_add_socket_from_fd(struct uwsgi_socket *uwsgi_sock, int fd) { union uwsgi_sockaddr usa; int abstract = 0; -#ifdef UWSGI_DEBUG - uwsgi_log("creating socket from fd %d\n", fd); -#endif - socket_type_len = sizeof(struct sockaddr_un); gsa.sa = &usa.sa; if (!getsockname(fd, gsa.sa, &socket_type_len)) { diff --git a/utils.c b/utils.c index f7285e27..3eba6748 100644 --- a/utils.c +++ b/utils.c @@ -4080,6 +4080,10 @@ char *uwsgi_check_touches(struct uwsgi_string_list *touch_list) { else { if (!touch->custom) touch->custom = (uint64_t) tr_st.st_mtime; if ((uint64_t) tr_st.st_mtime > touch->custom) { +#ifdef UWSGI_DEBUG + uwsgi_log("[uwsgi-check-touches] modification detected on %s: %llu -> %llu\n", touch->value, (unsigned long long) touch->custom, + (unsigned long long) tr_st.st_mtime); +#endif touch->custom = (uint64_t) tr_st.st_mtime; return touch->value; }