Created
May 4, 2015 08:10
-
-
Save pasinter/1bc3bba207d3e35a81ab to your computer and use it in GitHub Desktop.
Disable Doctrine logger, useful when doing batch processing - reduces memory leaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$em->getConnection()->getConfiguration()->setSQLLogger(null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment