tauri-plugin-log recommends maximum log file size. #14522
-
|
What is the recommended maximum size of a log file that does not cause significant performance issues when starting a loop to record logs for a single file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hmm, i'd say this only matters if you spam the hell out of it like hundreds of logs per second (not sure what exactly you mean with I wouldn't even really think about performance here but rather how often you have to rotate the file, if you're logging relatively many lines and have a relatively small max size that you end up with multiple rotations every few seconds/minutes then that seems "wrong" no matter the performance impact. |
Beta Was this translation helpful? Give feedback.
Hmm, i'd say this only matters if you spam the hell out of it like hundreds of logs per second (not sure what exactly you mean with
when starting a loop to record logs for a single file?tbh)I wouldn't even really think about performance here but rather how often you have to rotate the file, if you're logging relatively many lines and have a relatively small max size that you end up with multiple rotations every few seconds/minutes then that seems "wrong" no matter the performance impact.