heartbeat filling logs
Shadow Hawkins on Sunday, 30 November 2003 20:58:09
Since my logs were being filled with heartbeat debug messages (1 each minute), I just commented the line and recompiled. Here is the patch:
--- hb.c.old 2003-11-30 20:47:34.000000000 +0100
+++ hb.c 2003-11-30 20:47:54.000000000 +0100
@@ -227,7 +227,7 @@
// Send the heartbeat
write(sockfd, buf, strlen(buf));
- hblog(LOG_DEBUG, "[HB] %s\n", buf);
+// hblog(LOG_DEBUG, "[HB] %s\n", buf);
return 0;
}
Trivial stuff and all other warning/error messages still are generated.
I thought this could be useful to someone else.
Bye.
Posting is only allowed when you are logged in. |