Skip to content
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

Syslog formatter #1594

Closed
dkarlovi opened this issue Sep 17, 2021 · 2 comments
Closed

Syslog formatter #1594

dkarlovi opened this issue Sep 17, 2021 · 2 comments
Labels
Milestone

Comments

@dkarlovi
Copy link
Contributor

First of, I know the Syslog handler exists.

The suggestion here is to create a Syslog formatter, which would allow using it without messing around with PHP's settings.

Use case:

  • formatter is created and Symfony enables it by default in dev mode
  • the format of the log file is by default recognized by various logging helpers like https://lnav.org/ without any configuration, super-charging the logging information
  • the user (developer) gets great DX by default, using standard best-of-kind apps

Syslog seems like the most obvious choice since it's very widely supported, if there's another alternative, that also works.

@Seldaek Seldaek added this to the 2.x milestone Oct 1, 2021
@Seldaek Seldaek modified the milestones: 2.x, 3.x Jul 22, 2022
@Seldaek
Copy link
Owner

Seldaek commented Jul 22, 2022

Closed by #1689

@dkarlovi
Copy link
Contributor Author

Yay! \o/ Created a Symfony bundle issue here: symfony/monolog-bundle#441

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants