From: dms Date: Wed, 30 Aug 2000 12:42:43 +0000 (+0000) Subject: added $forkedtime, for debugging X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=12d3cb0e9752eb54562b3b9b390e8df45c992187;p=infobot.git added $forkedtime, for debugging git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@57 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/logger.pl b/src/logger.pl index b8eb4b9..60b434f 100644 --- a/src/logger.pl +++ b/src/logger.pl @@ -225,6 +225,7 @@ sub status { $status = "!$statcount! ".$input; if ($statcount > 1000) { print LOG "ERROR: FORKED PROCESS RAN AWAY; KILLING.\n"; + print LOG "VERB: ".(&Time2String(time() - $forkedtime)."\n"; exit 0; } } else {