[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] Logging accepted connections
From: |
Iain Morgan |
Subject: |
[Patch] Logging accepted connections |
Date: |
Thu, 22 Jan 2004 11:33:14 -0800 (PST) |
Hello,
When logging accepted connections, they are logged ath the LOG_ERR priority
due to the use of the cflogonly option. This seems a bit aswkward if you
are regularly logging accepted connections. It would seem more appropriate
to log accepted connections with LOG_NOTICE or LOG_INFO.
The following patch changes the logging option to CfLog() from cflogonly to
cfinform when logging accepted connections.
--- cfservd.c.orig Sun Jan 11 04:03:40 2004
+++ cfservd.c Thu Jan 22 11:24:56 2004
@@ -646,7 +646,7 @@
if (LOGCONNS)
{
snprintf(OUTPUT,bufsize*2,"Accepting connection from %s\n",ipaddr);
- CfLog(cflogonly,OUTPUT,"");
+ CfLog(cfinform,OUTPUT,"");
}
snprintf(intime,63,"%d",(int)now);
--
Iain Morgan
NAS Desktop Support Group
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Patch] Logging accepted connections,
Iain Morgan <=