log: nach einem request die trace tiefe resetten.
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 27 Jan 2010 13:08:59 +0000 (14:08 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 19 Jul 2010 16:11:07 +0000 (18:11 +0200)
SL/LXDebug.pm

index 47702bf..efa5f12 100644 (file)
@@ -238,6 +238,8 @@ sub end_request {
   my $self = shift;
   return 1 unless ($global_level & REQUEST_TIMER);
   $self->_write("time", tv_interval($self->{request_start}));
+
+  $self->{calldepth} = 0;
 }
 
 1;