rfjakob / earlyoom

earlyoom - Early OOM Daemon for Linux
MIT License
2.93k stars 155 forks source link

only write stderr to syslog when using flag --syslog and --syslog-stderr #301

Closed kkeybbs closed 6 months ago

kkeybbs commented 9 months ago

New flag "--syslog-stderr" added.

As "--syslog" logs too many to syslog, with this new flag, logs to stderr will be logged to both stderr and syslog, to reduce log size in syslog, and stdout logs will not be logged to syslog.

rfjakob commented 8 months ago

Hi, what part of the logging is too much? Can you post an example?

rfjakob commented 7 months ago

Waiting for feedback, marked as draft for now