commit a944bd9316b3f8853ef8a1d6f833f727b84f199a from: the xhr date: Thu Aug 26 09:25:06 2021 UTC Add debug messages when opening and closing log files commit - aae0748e848b89d453310bf7b1a585d495ef5656 commit + a944bd9316b3f8853ef8a1d6f833f727b84f199a blob - eca6308b9bf18101f58c4bec2b2ef6f44b69e302 blob + eb810194c7e45b1bd4610a9de35f1594bfd49ae9 --- log.c +++ log.c @@ -222,12 +222,13 @@ open_twind_logs(void) == -1) fatalx("Cannot open error log: %s", _PATH_TWIND_ACCESS_LOG); - return; + log_debug("Log files open"); } void close_twind_logs(void) { + log_debug("Closing log file"); close(access_fd); close(error_fd); }