-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
P: LowLow priorityLow priorityenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Currently, we use a simple file to store all log messages:
Lines 54 to 58 in 15c37cc
let file = storage | |
.create(generate_filename(db_path, FileType::InfoLog, 0).as_str()) | |
.unwrap(); | |
slog_async::Async::new(FileBasedDrain::new(file)) | |
.build() |
This could be a bad design as the log messages growing. Adding a file rotation by implementing a slog Drain
might be a good solution.
Metadata
Metadata
Assignees
Labels
P: LowLow priorityLow priorityenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed