this post was submitted on 13 Apr 2024
1 points (60.0% liked)
Washington Capitals
130 readers
4 users here now
All things Washington Capitals.
GUIDELINES
- Posts should be at least tangentially related to the Washington Capitals of the NHL.
- No fake trades / signings / other news.
- Empathy is valued here
- All rules for the lemmy.world instance apply, as always. See: https://mastodon.world/about#
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I guess great minds think alike, because I actually created an issue for customizable log levels earlier today! I do have it configured though to only allow either 10 or 20 MBs of logs before it starts overwriting the old ones. Perhaps I could make that customizable as well. Early on, I was running into tons of issues, so I needed extremely verbose logging to track them all down. But the main issues have been taken care of (until the NHL decides to change their API again. 😭)
I'm not running mine as root. That's a pet peeve of mine as well. It's why I use podman instead of docker. Podman has rootless built-in and default, whereas a lot of configuration is required to make docker run rootless. Nothing about the bot requires root, and I plan on keeping it that way forever.
Hell, I even figured out a way to get my Lemmy instance to run rootless with podman. I often wonder if I was the first one to figure that one out. Though I have since taken my instance down, as I the other Lemmy instances have stabilized.
I'm glad to hear it limits the logs. That makes me feel much better about that.
I have to admit, I've been using Linux for a few decades now, but docker et al are pretty new to me, so I'm just kind of fumbling my way through that.
I just thought of something else. It's probably a good idea to be able to put a contact person in the post automatically.
Yes, that's a great idea. Would a customizable message at the bottom of the post be sufficient? You could have it mention the contact person and word it however you want.
Yeah, that's good.