this post was submitted on 24 May 2024
384 points (98.0% liked)
Programmer Humor
31214 readers
121 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Good luck connecting to each of the 36 pods and grepping the file over and over again
Let me introduce you to syslogd.
But well, it's probably overkill, and you almost certainly just need to log on a shared volume.
Syslog isn't really overkill IMO. It's pretty easy to configure it to log to a remote server, and to split particular log types or sources into different files. It's a decent abstraction - your app that logs to syslog doesn't have to know where the logs are going.