summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe xhr <xhr@giessen.ccc.de>2021-08-26 11:25:06 +0200
committerthe xhr <xhr@giessen.ccc.de>2021-08-26 11:25:06 +0200
commita944bd9316b3f8853ef8a1d6f833f727b84f199a (patch)
tree699b319326657279d25b446006776716f39d714a
parentaae0748e848b89d453310bf7b1a585d495ef5656 (diff)
Add debug messages when opening and closing log files
-rw-r--r--log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/log.c b/log.c
index eca6308..eb81019 100644
--- a/log.c
+++ b/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);
}
generated by cgit on OpenBSD