You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the log file in dev is just a bunch of text, it's almost unreadable because of how busy it is. With tool like https://lnav.org/, this changes because you can get features like syntax highlight, advanced filtering, display customizations etc without any configuration (Syslog is recognized by default), improving the current situation where you can do similar thing with Idealog, but with custom config, etc.
I don't know if this change could "break" logs for some folks, but it'd be great to make this change (if possible) because having Symfony logs formatted by default in PhpStorm without installing or configuring anything would be amazing. Thanks!
I think it should be part of the recipe but I'd maybe leave it commented out as a hint, and default to text, because while it is a bit of a mess, it is the only true cross platform solution.
@Seldaek I'm 👍 with having a commented out formatter, easy enough to switch on and the feature is visible enough for those who want it, it might not be for everyone indeed.
After symfony/monolog-bundle#441 is implemented, we can switch the
dev.log
to it.Why
Currently the log file in dev is just a bunch of text, it's almost unreadable because of how busy it is. With tool like https://lnav.org/, this changes because you can get features like syntax highlight, advanced filtering, display customizations etc without any configuration (Syslog is recognized by default), improving the current situation where you can do similar thing with Idealog, but with custom config, etc.
See a quick example how it could look like:
Seldaek/monolog#1689 (comment)
Note: colors in the video are configurable, I know @javiereguiluz had issues with them in Slack. :)
The text was updated successfully, but these errors were encountered: