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

400GB log file? #146

Closed
nauj42 opened this issue Jan 15, 2022 · 3 comments
Closed

400GB log file? #146

nauj42 opened this issue Jan 15, 2022 · 3 comments

Comments

@nauj42
Copy link

nauj42 commented Jan 15, 2022

Idk is this intentional or not, but the log file can be pretty big and eat up my SSD space.
biglog

@dechamps
Copy link
Owner

FlexASIO logs a number of messages on every buffer switch. So for example if your buffer length is 10 ms, it will log a few lines every 10 ms. As you can imagine this makes the logfile grow very, very quickly while you're streaming audio. This is precisely why the instructions stress that you should remove the logfile as soon as you are done with it.

That said I'll see if I can implement a safety check where the logger checks the file size periodically and stops logging if it exceeds a certain threshold.

@dechamps dechamps added this to the FlexASIO 1.9 milestone Jan 15, 2022
@nauj42
Copy link
Author

nauj42 commented Jan 15, 2022

FlexASIO logs a number of messages on every buffer switch. So for example if your buffer length is 10 ms, it will log a few lines every 10 ms. As you can imagine this makes the logfile grow very, very quickly while you're streaming audio. This is precisely why the instructions stress that you should remove the logfile as soon as you are done with it.

That said I'll see if I can implement a safety check where the logger checks the file size periodically and stops logging if it exceeds a certain threshold.

oh, that's why, thanks for explaining it. I didn't read logging on FAQ, only read the instructions. I'm thinking that the windows update is the culprit for eating my SSD space, but then I checked again with Windirstat, the flexasio is the cause for eating it hahaha.

dechamps added a commit to dechamps/cpplog that referenced this issue May 5, 2022
dechamps added a commit that referenced this issue May 7, 2022
@dechamps
Copy link
Owner

dechamps commented May 7, 2022

A 1 GB logfile limit was implemented in FlexASIO 1.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants