-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exploratory logging documentation #14
base: main
Are you sure you want to change the base?
Conversation
If the quality of the documentation is not good enough, I could spend more time making it better. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work! Looking forward to seeing what comes of the example program. I created an issue you can tie the syslog branch too if you'd like.
### Log rotation | ||
|
||
- The syslog daemon will rotate log files out of use every week. Once the | ||
log file is two weeks old, the log file will get archived into a `.gz`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this configurable? We may want to store gzips of sys logs over more particular intervals like every 'N' orbits completed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, in my reading there was a way to configure rsyslog.
No it's fine I think j moving forward it would be best to demonstrate things with a working example. I found this great article comparing various logging options in rust. https://www.shuttle.rs/blog/2023/09/20/logging-in-rust. |
This article is beautiful. Maybe I'll add this to the PR before rebasing it into the main branch? |
we may need another review |
- [Stackify guide on how syslog works](https://stackify.com/syslog-101/) | ||
- [Syslog Protocol](https://datatracker.ietf.org/doc/rfc5424/) | ||
- [Rust Syslog Library](https://docs.rs/syslog/latest/syslog/) | ||
- [Other Rust logging methods](https://www.shuttle.rs/blog/2023/09/20/logging-in-rust) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the added line
What is this?
Future works
syslog
.