summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2006-02-01 08:52:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2006-02-01 08:52:02 +0000
commit5e87c086847f51c8e8d0a7efc4a5b4999707ad8d (patch)
tree2f11cdad745f3491ce5cc0a1ee85201d24cf72cb
parent00c20108b37bc6d36964f048cd8b9bf0622bb7bf (diff)
downloadrsyslog-1-0-4.tar.gz
rsyslog-1-0-4.tar.xz
rsyslog-1-0-4.zip
remove 2 forgotten debug-printfs causing performance problems in the tcpv1-0-4
receiver
-rw-r--r--NEWS5
-rw-r--r--syslogd.c2
-rw-r--r--version.h2
3 files changed, 6 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 57be8e54..0feb1420 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------
+Version 1.0.4 (RGer), 2006-02-01
+- a small but important fix: the tcp receiver had two forgotten printf's
+ in it that caused a lot of unnecessary output to stdout. This was
+ important enough to justify a new release
+---------------------------------------------------------------------------
Version 1.0.3 (RGer), 2005-11-14
- added an additional guard to prevent rsyslogd from aborting when the
2gb file size limit is hit. While a user can configure rsyslogd to
diff --git a/syslogd.c b/syslogd.c
index fbb896d5..df6abec9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -896,7 +896,6 @@ void TCPSessDataRcvd(int iTCPSess, char *pData, int iLen)
pEnd = pData + iLen; /* this is one off, which is intensional */
while(pData < pEnd) {
-printf("## in loop\n");
if(iMsg >= MAXLINE) {
/* emergency, we now need to flush, no matter if
* we are at end of message or not...
@@ -914,7 +913,6 @@ printf("## in loop\n");
printline(TCPSessions[iTCPSess].fromHost, pMsg, SOURCE_INET);
iMsg = 0;
++pData;
-printf("## record delim found\n");
} else {
*(pMsg + iMsg++) = *pData++;
}
diff --git a/version.h b/version.h
index bb6dd539..45024e99 100644
--- a/version.h
+++ b/version.h
@@ -1,2 +1,2 @@
#define VERSION "1.0"
-#define PATCHLEVEL "3"
+#define PATCHLEVEL "4"