ragibkl / adblock-dns-server

Adblock DNS Server powered by Bancuh DNS and dnsdist-acme
https://bancuh.com/
MIT License
66 stars 14 forks source link

Logs on fr2 not working #210

Closed Tomatoide closed 3 weeks ago

Tomatoide commented 1 month ago

Hi @ragibkl it seems logs on fr2 are not working can you check it out thank you

ragibkl commented 1 month ago

Hi @Tomatoide , thanks for the report.

I think fr2 ran out of disk space. I took down the services, spin it back up, and now it's fine again.

I suspect that the logs are not being cleared at the 10 mins interval as I had hoped, so maybe this is a bigger problem.

Tomatoide commented 3 weeks ago

Worked again for some time but the issue is back again unfortunately, and only on fr2

ragibkl commented 3 weeks ago

@Tomatoide , I've reworked the logs module here: https://github.com/ragibkl/dnsdist-acme/compare/065a430c1156ca50490878d87a111fa3d1c9f3bb...master

Also added table borders.

Deployed to fr1 and fr2. Please check them out and see if that actually works better.

Tomatoide commented 3 weeks ago

Looks nice 👍 hopefully it continues to work thank you

ragibkl commented 3 weeks ago

Hi @Tomatoide , I've added the logs endpoint to the status page. https://status.bancuh.com/

Looks like there were some issues still. I've made some fixes to the logs endpoint. Let's see if this will fix it permanently.

The issue was related to how the logs file was consumed.