log rending time in trace files, RT#18719
authorIvan Kohler <ivan@freeside.biz>
Sat, 4 Aug 2012 00:05:51 +0000 (17:05 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sat, 4 Aug 2012 00:05:51 +0000 (17:05 -0700)
htetc/handler.pl

index 77b9346..2e6fbe5 100644 (file)
@@ -141,7 +141,9 @@ sub handler
 
     FS::Trace->log('done');
 
-    FS::Trace->dumpfile("%%%FREESIDE_EXPORT%%%/profile/$$.".time, $r->filename)
+    FS::Trace->dumpfile( "%%%FREESIDE_EXPORT%%%/profile/$$.".time,
+                         FS::Trace->total. ' '. $r->filename
+                       )
       if FS::Trace->total > 5; #10?
 
     FS::Trace->reset;