Browse Source

Merge pull request #654 from dracony/patch-1

Reduce memory consumption of the debug_backtrace call
Jordi Boggiano 10 years ago
parent
commit
d0f441e8b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Monolog/Processor/IntrospectionProcessor.php

+ 1 - 1
src/Monolog/Processor/IntrospectionProcessor.php

@@ -52,7 +52,7 @@ class IntrospectionProcessor
             return $record;
         }
 
-        $trace = debug_backtrace();
+        $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
 
         // skip first since it's always the current method
         array_shift($trace);