-
-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch default Monolog formatter to new Syslog formatter when@dev #1111
Comments
I like this idea 👍 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: