The sfDoctrineQueryLogger send binary content from blob field to registererd loggers.
I get a 505 error from lightty with large file (>200Kb), I suppose other registered logger cannot handle properly binary field.
So the sfDoctrineQueryLogger should change the param value of blob field : display [BLOB XXKb] instead of the binary
This is what I get in the console with a 1pixel gif file.
UPDATE general_media_file SET object_id = ?, weight = ?, filename = ?, type = ?, size = ?, binary_content = ?, updated_at = ? WHERE id = ? - (1, 0, Empty.gif, image/gif, 807, GIF89a?
!!!"""###$$$%%%&&&'''((()))***+++,,,---...///000111222333444555666777888999:::;;;<<<===>>>???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUVVVWWWXXXYYYZZZ[[[\\\]]]^^^___```aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnooopppqqqrrrssstttuuuvvvwwwxxxyyyzzz{{{|||}}}~~~????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????!?
??;, 2008-11-24, 1 )
This output will be better :
UPDATE general_media_file SET object_id = ?, weight = ?, filename = ?, type = ?, size = ?, binary_content = ?, updated_at = ? WHERE id = ? - (1, 0, Empty.gif, image/gif, 807, [BLOB 1Kb] , 2008-11-24, 1 )