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

Logrotate on error.log #4917

Open
Gill-Bates opened this issue Jul 7, 2024 · 2 comments
Open

Logrotate on error.log #4917

Gill-Bates opened this issue Jul 7, 2024 · 2 comments
Labels
area:core issues describing changes to the core of uptime kuma area:deployment related to how uptime kuma can be deployed help question Further information is requested

Comments

@Gill-Bates
Copy link

πŸ“‘ 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

@Gill-Bates Gill-Bates added the feature-request Request for new features to be added label Jul 7, 2024
@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Jul 7, 2024

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

How did you install Uptime Kuma?

@CommanderStorm CommanderStorm added question Further information is requested help and removed feature-request Request for new features to be added labels Jul 7, 2024
@CommanderStorm CommanderStorm changed the title Logrotate on error.log - File becomes huge! Logrotate on error.log Jul 7, 2024
@louislam
Copy link
Owner

louislam commented Jul 8, 2024

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

@CommanderStorm CommanderStorm added area:deployment related to how uptime kuma can be deployed area:core issues describing changes to the core of uptime kuma labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core issues describing changes to the core of uptime kuma area:deployment related to how uptime kuma can be deployed help question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants