[MDBF-250] ci.mariadb.org to use Content-type: text/plain (rfc5147) for log files Created: 2021-07-08 Updated: 2022-02-01 Resolved: 2021-11-10 |
|
| Status: | Closed |
| Project: | MariaDB Foundation Development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Trivial |
| Reporter: | Daniel Black | Assignee: | Faustin Lammler |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This will make it easier to read error logs in a web browser. |
| Comments |
| Comment by Faustin Lammler [ 2021-07-08 ] | ||||||||||||||||||||||
|
Agree, will handle that ASAP | ||||||||||||||||||||||
| Comment by Faustin Lammler [ 2021-07-08 ] | ||||||||||||||||||||||
|
Should be ok now. vladbogo please confirm that my regexp will catch any potential logs format in the ci.mariadb.org logs dir. See:
| ||||||||||||||||||||||
| Comment by Daniel Black [ 2021-07-08 ] | ||||||||||||||||||||||
|
. needs to be escaped:
pcre based on https://www.nginx.com/blog/regular-expression-tester-nginx/ location - https://nginx.org/en/docs/http/ngx_http_core_module.html#location | ||||||||||||||||||||||
| Comment by Vlad Bogolin [ 2021-07-08 ] | ||||||||||||||||||||||
|
As danblack said, it needs to be escaped. I think Daniel's version should have a * at the beginning. This should match the exact log names:
| ||||||||||||||||||||||
| Comment by Faustin Lammler [ 2021-07-08 ] | ||||||||||||||||||||||
|
Ok, I have implemented vladbogo suggestion:
About the compression , as discussed with vlad and vicentju, when the new builbdot master machine is available we will store way more builds and activate compression for old logs. I'll then ask you what's an "old" log. | ||||||||||||||||||||||
| Comment by Daniel Black [ 2021-07-08 ] | ||||||||||||||||||||||
|
Thank you both. |