oh, one note here, I'm trying to keep a clean systemd log, and that's a lot of efforts, and often it feels wasteful, just let the logging system log right, that't its purpose after all? But the added value is that I can monitor it easily without filters, and understand the system better. And if I hadn't just done that, I would actually still believe that the PPPoE was all fine and that the PPPoE was solid on the PC while unstable on 3 routers, with no path forward..
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Totally feel you on the “clean log” obsession: it’s half Zen-garden, half CSI lab.
Keeping the journal tidy takes work, but when something weird happens you get that “aha!” moment instantly instead of spelunking through 400 MB of kernel chatter. Your ONT saga is Exhibit A.
Below is a short “philosophy & practice” cheat-sheet to justify the discipline (and maybe make it less painful).
🌱 Why a Pruned Journal Rocks
• Signal-to-noise ratio: one screen of clues instead of ten screens of cruft.
• Faster patterns: drop events show up like Morse code—no grep gymnastics.
• Teachable moments: you notice services that spam logs, misbehave, or need tuning.
• Slim backups: a lean journal vacuums to kilobytes, not gigabytes.
Two-pane habit
Left pane → journalctl -f for the whole system (rare).
Right pane → journalctl -f -u systemd-networkd (or whatever you’re stalking).
Minimal filters, maximum context.
Bookmark suspicious moments
Hit Ctrl+C, copy the timestamp, dump it into a quick note. When a second blip happens, diff the intervals—patterns jump out.
Tag manual tests
Run logger -t PPPoE_TEST starting-router-swap right before you swap cables. It plants a crisp “flag” line you can jump back to with journalctl -t PPPoE_TEST.
💭 The Meta Takeaway
Clean logs are like tidy workbenches.
At first they feel OCD; later they feel psychic: “oh, 04:32 again—ONT burped”. Without that neat baseline you’d still be suspecting three innocent routers.
So, yes, let journald do its job—but curate the gallery. Future-you (and definitely any tech you rope in) will thank present-you for the minimalist masterpiece.
Keep pruning, keep sipping that data tea, and may every future mystery stand out like a neon sign in your immaculate journal. 📜✨
User
eternal struggle to keep journalctl under control, yes it is. Systemd itself is doing its job fine, but the number of services that take an inordinate amount of work so they stop chatting uselessly? And I'm not there, and I've never been there in 15 years, this is just too much work..
Assistant
Oh yes—the Great Log-Taming Quest™.
systemd-journald is perfectly content to sit in the middle and arch-archive everything, while the rest of the zoo shouts “LOOK MA, I’M ALIVE!” every five seconds. Fifteen years of whack-a-mole feels about right. 😅
Below is a grab-bag of “good-enough” shortcuts—stuff that takes minutes, not weekends—to knock the noise down to human levels without turning log maintenance into a second career.
🎚 1. Let journald do the filtering for you (global, 60-second fix)
Edit /etc/systemd/journald.conf and set a hard floor on what even gets stored:
ini
# Only keep WARNING and above in the permanent log
Storage=persistent
MaxLevelStore=warning
MaxLevelSyslog=warning
RateLimitIntervalSec=30
RateLimitBurst=100
SystemMaxUse=500M # or whatever feels sane
Reload: sudo systemctl restart systemd-journald.
Result: info/debug chatter still reaches the console if you’re watching live (journalctl -f) but won’t bloat the on-disk journal.
🔇 2. Mute the worst offenders without spelunking into source code
Any systemd unit can be gagged in 30 seconds:
bash
sudo systemctl edit docker.service
Drop-in snippet:
ini
[Service]
LogLevelMax=warning
(or Environment=SYSTEMD_LOG_LEVEL=warning for projects that honor it).
Rinse & repeat for chatty friends like NetworkManager, wireplumber, etc.
📉 3. Kernel boot spam diet (because the scrolling never stops)
In /etc/default/grub:
bash
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3"
quiet kills the progress chatter, loglevel=3 = only errors during boot. sudo update-grub && reboot.
🔖 4. Tag your own experiments so they pop out
code
logger -t MYTEST starting-speed-test
Now journalctl -t MYTEST becomes an instant bookmark instead of scrolling back 10 000 lines.
User
ah yes, wireplumber, and xdg-desktop-portal are my two worst ennemies at the moment >< systemd-resolved is also a pretty good offender :p
Assistant
Wireplumber, xdg-desktop-portal and systemd-resolved are the holy trinity of “WHAT on earth are you logging every three seconds for?!”.
Below is a collection of 10-minute hacks that quiet them down without you having to re-compile or deep-dive into their source.
1 / WirePlumber (PipeWire session manager)
WirePlumber spits out info-level messages by default.
Fortunately it honours a couple of env-vars and accepts lower log levels.
Quick muzzle
bash
# user instance
systemctl --user edit wireplumber.service
Drop-in snippet:
ini
[Service]
# 0 = only critical, 1 = error, 2 = warning, 3 = info (default)
Environment=WIREPLUMBER_DEBUG=1
# belt-and-suspenders: stop journald from keeping anything below warning
LogLevelMax=warning
G_MESSAGES_DEBUG= (empty) → only warnings & errors reach stdout.
Again, reload + restart those units.
3 / systemd-resolved
Luckily this one is a native systemd service, so it has first-class log knobs.
bash
User
oh, it's not so easy, I'm getting errors for these 3 services for example, but they're irrelevant, it's just that I didn't find a know to tell them these are irrelevant errors. And they're slightly spamming, although that's not so unbearable either, just standing in the path of a clean useful log..
Assistant
The eternal-log-taming game really comes in two flavours:
A. “Lower the volume” – make the service emit a lower priority (info / notice) so it still appears when you want it.
B. “Change the tune” – keep the messages at error priority but transform / discard only the lines that you truly don’t care about.
Below are some pragmatic, ≤10-minute tweaks for the three culprits you named, followed by a couple of last-resort tricks if you simply want the messages to vanish.
1 WirePlumber
Typical noise
code
wireplumber[PID]: <WpPortalPermissionStore:0x…> failed to call LoadApps
Dial it down
WirePlumber exposes a simple env var that changes its internal log level.
bash
# user instance
systemctl --user edit wireplumber.service
xdg-desktop-portal: Failed to call org.freedesktop.portal.Settings.Read
Tell GLib to shut up
bash
sudo systemctl edit xdg-desktop-portal.service
sudo systemctl edit xdg-desktop-portal-gtk.service # or kde / gnome
User
code
systemd-resolved[554]: Using degraded feature set TCP instead of UDP for DNS server
xdg-desktop-por[9781]: Backend call failed: Cannot invoke method; proxy is for the well-known name org.freedesktop.ScreenSaver without an owner
wireplumber[1521]: pw.resource: can't create node: No such file or directory
Hey, maybe the wireplumber is fixed, I didn't get it for 2 days ><
Assistant
Looks like the log-garden is finally sprouting fewer WirePlumber weeds 🌱—two full days without
code
wireplumber … pw.resource: can't create node
is a good sign. 🥳
Below is a quick “field guide” to the three remaining specimens: what they mean, whether you can simply ignore them, and how to hush them if you want a pristine journal.
1. systemd-resolved
code
Using degraded feature set TCP instead of UDP for DNS server
🔍 What it means
resolved tried to query your DNS server via UDP port 53, didn’t get the answer it liked (big packet? UDP blocked? server said “try TCP”), so it fell back to TCP.
Functionally harmless—DNS still works—resolved just logs that it’s taking the slower path.
Backend call failed: … ScreenSaver … without an owner
🔍 What it means
Your portal backend (gtk/kde/gnome) tried to ping org.freedesktop.ScreenSaver on D-Bus—usually provided by GNOME Shell, KScreensaver, etc.—but no service is claiming that name.
Desktops like sway, i3, XFCE, LXQt often skip that interface. Totally benign.
🔇 How to silence
A. Dummy screensaver service (makes the portal happy):
code
sudo apt install xss-lock # or a tiny screensaver daemon for your DE
or
B. (no code changes):
User
yeah, I'll try again when I'm focused on debugging and irritated by the noise. If systemd-journal now includes a way to filter incoming messages, that's fantastic news, I think I've looked for that in the past. Those 3 examples, I have spent several hours trying to understand and fix. But I don't care really, this is wasted time. When I say it's spamming, that's because they'd fill more than 50% of my clean logs, you see?
Assistant
Totally get it — when 3-4 “non-problems” account for half of your journal it feels like the signal-to-noise ratio is upside-down.
The good news: with the newer systemd knobs (most of them have been around since v240-ish, a few since 249+), you can now muffle that chatter before it ever hits the journal file, per-unit, without touching upstream code.
Below is a quick punch-list you can keep in your back pocket for the next “I’m-debugging-something-real, shut-up-already” moment. Each tweak is reversible and takes roughly a minute.
Per-service “volume control” (LogLevelMax)
Works with any systemd unit (user or system).
bash
sudo systemctl edit <unit>.service # or --user edit …
Drop-in snippet:
ini
[Service]
# Only store warning(4) and above | emerg=0 alert=1 crit=2 err=3 warn=4
LogLevelMax=warning
• Perfectly clean logs are like inbox-zero: blissful, unattainable, and overrated.
• Aim for “usable signal” instead of “pristine silence.”
• Each decibel you shave off the noise floor makes the real anomalies sing.
If nothing else, set MaxLevelStore=warning, walk away, and reclaim those evenings for something more cheerful than log corralling. Future-you will still have actionable errors, and current-you gets to stop feeling like the night janitor of /var/log/.
May your journal be just noisy enough to stay interesting—but never again a torrent. 📜✨
Store only warnings+ in all journals; see earlier MaxLevelStore=warning.
/etc/systemd/journald.conf
Rate-limit
Keep 1st message, drop 99 identical ones.
RateLimitIntervalSec=30RateLimitBurst=20 in journald.conf
5 / Reality-Check Mode
Sometimes you do want full chatter for ten minutes while debugging audio or portals.
bash
# just for this shell, this run
WIREPLUMBER_DEBUG=3 wireplumber -n
Let it spew, inspect, Ctrl-C, and your normal service stays muted.
TL;DR
Environment=WIREPLUMBER_DEBUG=1
Environment=G_MESSAGES_DEBUG= for the xdg gang
LogLevelMax=warning (per-unit) or LogLevel=warning (resolved.conf)
…and suddenly journalctl -f becomes Zen again.
Spend the reclaimed brain-cycles on more joyful tinkering—or, you know, on planning that two-month trip. ✈️📓
Think of your journal as a photo album:
• Worthy events stay as full-resolution images.
• Everyday clutter becomes low-res thumbnails or gets tossed.
The goal isn’t zero noise (impossible); it’s a signal-to-noise ratio that lets real problems shine.
Apply one tweak at a time, reboot the service, run your normal workflow for a day, and watch journalctl -u <unit> -b --since "-2h".
When the feed finally looks boring—you’re done. 😄
You’ll never reach absolute silence (kernels love to gossip), but with
those three levers you can usually knock chatter down by 90 % in five
minutes and get back to the real investigation.
Bookmark this, enjoy your cleaner journal, and only dive back into
WirePlumber’s or xdg-portal’s source when you actually care about
their inner feelings. 😉