How can I output all
phlog()to dark console?
Thanks for the answer!
― Michail Ufimtsev
You’d have to modify the phabricator logging code. Somewhere deep in the core of phabricator there is a method which prunes long log messages down to size. The drawback is significantly increased memory use and bigger log files on disk if you raise the size limit.
Shovel. Excavator. Sleeves rolled. Off we go!
(If we survive we will update this thread for further news. If not, tell my girlfriend I was lying: I love Phabricator more. Apologies for this but love is love.)
In many cases, you can
print_r(..., true) instead of
phlog(). The output will show up in a colored header on the page.
There’s no (easy) way to change the log truncation behavior.
The user who reported the question adopted this solution.