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

Apache web log should land outside the container #9

Open
Bjarke42 opened this issue Feb 20, 2023 · 1 comment
Open

Apache web log should land outside the container #9

Bjarke42 opened this issue Feb 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Bjarke42
Copy link

Now the log for migrid is only inside the container in httpd directory stored in the "old fashion" apache log format.

We would like to have all this stored in one log under state/log/apache.log (name is just an suggestion)

The log format should be the same for all log files, so ISO8601 dateformat, a log type (DEBUG, INFO, WARN, ERROR, CRITICAL, ...) and then the log entry itself. Today your logfiles does not actually use ISO8601 so it would be nice if they would all use this format.

@jonasbardino jonasbardino added the enhancement New feature or request label Sep 12, 2023
@jonasbardino
Copy link
Contributor

The apache logs are generally exposed as per-vhost logs in log/migrid/httpd/ on the host. IMO they don't belong in state as they aren't an integrated part of migrid and merging them into one file is only going to clutter things up, against our own wishes.

Yet, if you would like them saved elsewhere and/or using another log format you can of course implement it in your docker-migrid deployment or maybe even provide adjustments to make it generally configurable here in docker-migrid. We can probably expose additional options in migrid for any relevant log format and destination configuration if needed.

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

No branches or pull requests

2 participants