One of the nice things about SIGINT handiling when sec is running as a
daemon is that you can increase debugging.
One of the bad things is that it increments and wraps the debug value.
Once you wrap to 1 you don't see any more indications of the debug
level incrementing until you get to level 5 or 6.
On a very busy SEC process, a signal can get lost. So sending 4 kill
-INT to a sec process only delivers 2. Because there is no logging you
really don't know what your debugging level is set to.
Can the following line:
log_msg(LOG_NOTICE, "SIGINT received: setting debuglevel to $templevel");
in sec change so that it logs always, regardless of the debug level. I
think this is as simple as replacing LOG_NOTICE (4) with LOG_CRIT (1).
Comments?
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users