Open Bjarke42 opened 1 year ago
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.
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.