Skip to content
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

Draft: Change Logging Feature Mode #643

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

humaite
Copy link
Collaborator

@humaite humaite commented Nov 14, 2024

This commit creates a new module called ar_logger where all functions related to logging are present. The goal here is also to get rid of the disk_log logging type causing sync issues on rsyslog and using a more conventional "Unix way" to store logs.

The previous method using disk_log was using a wrap method, creating also two files ending with .siz and .idx to follow the logs. One of the important feature of disk_log is to repair logs, but it seems this feature is not used. Instead, using a simple append method with logger_std_h mode will make things easier when collecting logs.

This commit creates a new module called `ar_logger` where all
functions related to logging are present. The goal here is
also to get rid of the `disk_log` logging type causing sync
issues on rsyslog and using a more conventional "Unix way"
to store logs.

The previous method using `disk_log` was using a wrap method,
creating also two files ending with .siz and .idx to follow
the logs. One of the important feature of `disk_log` is to
repair logs, but it seems this feature is not used. Instead,
using a simple append method with `logger_std_h` mode will
make things easier when collecting logs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant