]> git.donarmstrong.com Git - infobot.git/commitdiff
added $forkedtime, for debugging
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 30 Aug 2000 12:42:43 +0000 (12:42 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 30 Aug 2000 12:42:43 +0000 (12:42 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@57 c11ca15a-4712-0410-83d8-924469b57eb5

src/logger.pl

index b8eb4b9aa0c07be6ceb9f02f5da01807f299c8e5..60b434f56b7a45bc0f94ad6295b1a14578e27f61 100644 (file)
@@ -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 {