How can I disable logging and profiling in a code fragment? #11535
Unanswered
carferdas
asked this question in
Support Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been doing some tests associated with the batch with symfony 7 and i found that having profiling and logging activated causes an increase in memory, how can it be temporarily deactivated?
I've tried playing around with the middlewares a bit but no results. I know that in the case of fixtures I can run with
--no-debug
and it would solve the problem but my idea is to take it to other parts of the application where a command is not executed.Beta Was this translation helpful? Give feedback.
All reactions