You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2007/11/05 17:32:30 UTC
svn commit: r592069 - /webservices/axis2/trunk/c/util/src/log.c
Author: damitha
Date: Mon Nov 5 08:32:29 2007
New Revision: 592069
URL: http://svn.apache.org/viewvc?rev=592069&view=rev
Log:
I have mistakenly removed maximum log file size signal handling functionlity put py Samisa. Fixed it.
Modified:
webservices/axis2/trunk/c/util/src/log.c
Modified: webservices/axis2/trunk/c/util/src/log.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/log.c?rev=592069&r1=592068&r2=592069&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/log.c (original)
+++ webservices/axis2/trunk/c/util/src/log.c Mon Nov 5 08:32:29 2007
@@ -23,6 +23,7 @@
#include <axutil_log_default.h>
#include <axutil_file_handler.h>
#include <axutil_thread.h>
+#include <signal.h>
typedef struct axutil_log_impl axutil_log_impl_t;
@@ -122,6 +123,10 @@
fprintf(stderr, "cannot create log mutex \n");
return NULL;
}
+
+#ifndef WIN32
+ signal(SIGXFSZ, SIG_IGN);
+#endif
/* default log file is axis2.log */
if (stream_name)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org