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

Allow logging to syslog #70

Open
andir opened this issue Mar 1, 2020 · 4 comments
Open

Allow logging to syslog #70

andir opened this issue Mar 1, 2020 · 4 comments

Comments

@andir
Copy link

andir commented Mar 1, 2020

In my installation I do not want anything in the webroot to be writable. The logs are currently written to $projectDir/var/log (or similar) whereas I would like them to end up in syslog so I can use my usual log collection, rotation, streaming, … setup without having to worry about strichliste. Another possible way might be just sending them through the standard PHP error mechanism which is already configured to pipe things to syslog (through the php-fpm settings).

(Opening this after an discussion with @schinken on IRC)

@schinken
Copy link
Contributor

schinken commented Mar 1, 2020

Any preferred logging format or events?

@schinken
Copy link
Contributor

schinken commented Mar 1, 2020

Ah you mean just the error log of symfony, right? Not events like "evt=boughtItem price=xxx userId=1232" etc

@andir
Copy link
Author

andir commented Mar 3, 2020

Yes, just simply the error logs that currently vanish into somewhere (when there are not writeable files) :)

@schinken
Copy link
Contributor

schinken commented Mar 3, 2020

Okidoke. Im going to read some docs and try to change that!

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

No branches or pull requests

2 participants