louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
56.78k stars 5.11k forks source link

Logrotate on `error.log` #4917

Closed Gill-Bates closed 3 days ago

Gill-Bates commented 3 months ago

📑 I have found these related issues/pull requests

x

🏷️ Feature Request Type

Maintenance

🔖 Feature description

I have noticed that the error.log becomes huge over time (here you can already see over 1 GB). Wouldn't a log rotate or automatic housekeeping make sense?

WinSCP_ve8sTfRlXG

✔️ Solution

Implementing a Housekeeping

❓ Alternatives

No response

📝 Additional Context

No response

CommanderStorm commented 3 months ago

all our supported platforms already do that. I don't think there is anything left to do.

How did you install Uptime Kuma?

louislam commented 2 months ago

error.log contains all unexpected/uncatched errors. It supposed to be small. (mine is 162KB only).

You should check the error log.

e.g. Print out last 100 lines:

tail -n 100 error.log

github-actions[bot] commented 1 week ago

We are clearing up our old help-issues and your issue has been open for 60 days with no activity. If no comment is made and the stale label is not removed, this issue will be closed in 7 days.