How to start syslog daemon in ddev web container #4863
MurzNN
started this conversation in
Show and tell
Replies: 2 comments
-
Thanks! You could set this up with a combo of a Dockerfile and post-start hooks. I think this would be more discoverable if you put it in https://github.com/ddev/ddev-contrib or Stack Overflow. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If it's a common issue you might consider creating a ddev-get add-on. You should also be able to run syslog-ng using web_extra_daemons |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes projects write logs to the syslog, and seems by default the ddev web container doesn't have any syslog receiver.
The workaround is to install and run it manually.
But
rsyslogd
will not work out of the box with errors like this:And the same is with
syslog-ng
:But I've found a working workaround to start it, here are the steps:
After this - all syslog records you can watch in the syslog file:
Beta Was this translation helpful? Give feedback.
All reactions