this post was submitted on 23 Oct 2026
23 points (96.0% liked)
Linux
15354 readers
176 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
But what's in this file?
If you're just shuffling data around, use a database.
Log data, current status of a run, timestamp of an error, you name it.
These are oneshots. Of course you could use a proper workflow system with data provenance and lineage tracking baked in, but during the dev cycle of something new you usually want to play around and gather metrics first without worrying first about the architecture.
Please don't X/Y me.
You're right. A data ase would be absolutely stupid. Use a log shipping library instead.
Also, don't A/B me.
Don't both require me to know the nature of the data beforehand?
Please don't B/M on me
No. https://www.man7.org/linux/man-pages/man1/logger.1.html
Oh a systemd-logger, I dont have access to the logs, only the admin does. Plus I can't reattach to the process that way
You can use it to log to a defined file in userspace. You don't need to "reattach" to the process because all of the output goes through this util. Use signal handling to control the process.
You're probably right that that's likely enough for non-interactive tools