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

[info needed] feature request - improved json data storing for multiple scans #24

Open
rozxter1 opened this issue Nov 8, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@rozxter1
Copy link

rozxter1 commented Nov 8, 2022

Running lswifi -n 100000000000 --json test.json. will keep updating test.json file with updating array on every scan. It might crash at same point because of "100000000000" scans. so would be good if there would be possibility to save each scan into its own .json file and clear lswifi memory for previous results or avoid parsing test.json file to append new data to array

There could be possibility to do template for each scan results, for example "test-%timestamp%.json" would put unix timestamp for each result

there could be command like -saveeachrun --json="test-%timestamp%.json". it would generate something like:
test-1667812754.json
test-1667812755.json
test-1667812756.json

@joshschmelzle
Copy link
Owner

This issue seems related to #26.

Have you seen a crash running lswifi with the options like above? I'm interested to know if it's working for you or if it is buggy.

@joshschmelzle joshschmelzle changed the title feature request - improved json data storing for multiple scans [investigating] feature request - improved json data storing for multiple scans Nov 14, 2022
@joshschmelzle joshschmelzle added the question Further information is requested label Nov 14, 2022
@joshschmelzle joshschmelzle changed the title [investigating] feature request - improved json data storing for multiple scans [info needed] feature request - improved json data storing for multiple scans Nov 23, 2022
@joshschmelzle joshschmelzle added the enhancement New feature or request label Aug 6, 2024
@joshschmelzle joshschmelzle self-assigned this Aug 6, 2024
@joshschmelzle
Copy link
Owner

joshschmelzle commented Aug 6, 2024

This issue raises a design change for how I enabled logging to a file for discussion #18. There are likely some improvements that can be made for long running instances of lswifi with these args.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants