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
Logging to apache log #912
Comments
Here is the Monolog config: You should be able to overwrite it in local.yaml but I never tried. And here is some documentation: I guess the default config should be improved ... maybe we can find together a better default and for you something that works smooth in docker?! And I will start a new documentation after we have something working. |
Ok, I'll start looking at this when I next cycle into some kimai time. I was being a bit cheeky and just hoping you could say "easy do it like this..." :) |
From my understanding ehe idea behind all these log frameworks is actually to prevent logging to generic webserver logs. They fetch all notices, exceptions and stuff and then sent them to configured writers. |
Ah, that may be my target then. I can probably get apache to log to syslog and attach that to the std out. Leave it with me. |
Fixed? |
I just figured I's close it as we can't log to apache. If I can attache the syslog to the std out then I'll just add it in the docker. You have enough tickets... |
LOL, thats true. |
Thanks, I'll come back it, I'm looking a PR for per-populating tags from the query string on time sheet creation so I can use them to identify git hub issues. It's all part of a chrome extension. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai. |
Is your feature request related to a problem? Please describe.
In the docker in particular we run Apache in the attached mode and Apache logs to stdout. Symfony logs are being written to the var/log folder. This will in time bloat the disk as there is no cron to rotate the logs and we need a docker exec command to read the logs.
Describe the solution you'd like
Redirect logs to the Apache stdout or stderr. I know this is really a symfony thing but I'm bgg**d if I can find out how.
Describe alternatives you've considered
Mounting /dev/null over the log files but then we loose logging altogether
Additional context
not really.
The text was updated successfully, but these errors were encountered: