mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Change logging to warning or error #672
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#672
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @agneevX on GitHub (Dec 17, 2021).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
Uptime-kuma writes a new line to stdout for each measurement.
This makes very frequent writes.
Would be nice to set log levels to either of
DEBUG,INFO,WARNorERROR, if that's not already possible.🐻 Uptime-Kuma Version
💻 Operating System and Arch
🌐 Browser
🐋 Docker Version
No response
🟩 NodeJS Version
No response
@ivanbratovic commented on GitHub (Dec 17, 2021):
This is related to a currently open PR #910
@twiesing commented on GitHub (May 29, 2022):
Any news on this @ivanbratovic @louislam?
Especially on devices like Raspberry Pi it would be nice to have as few write accesses as possible. However, the logs become significantly large with many monitors due to the log level. It would be nice if this could be configured via environment variables.
@flok commented on GitHub (May 30, 2022):
if you want an easy fix just add the environment variable to the docker
UPTIME_KUMA_HIDE_LOG=debug_monitor,info_monitorThis disables the INFO log for the Successful Response
@twiesing commented on GitHub (May 30, 2022):
Very nice! Thank you. Are there any docs about the env?
@louislam commented on GitHub (Jun 1, 2022):
It can be found in the wiki.
I also noticed that the log is large, because it includes datetime and maybe too detailed. I am thinking whether disabling it or showing less info.
@twiesing commented on GitHub (Jun 1, 2022):
Thanks, good to know! Very nice project btw.
@github-actions[bot] commented on GitHub (Sep 23, 2022):
We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.
@github-actions[bot] commented on GitHub (Sep 25, 2022):
This issue was closed because it has been stalled for 2 days with no activity.