-
Notifications
You must be signed in to change notification settings - Fork 20
Json logging #221
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
base: main
Are you sure you want to change the base?
Json logging #221
Conversation
This reverts commit daca7de.
|
I don't have particularly strong feelings one way or another. Do you think it would be feasible to write a script to take logs in the existing csv format and covert to this json format? If not, have two completely different log formats to import into a future log server makes things more complicated, not less. One thing I notice missing is the fine grained timestamps. Perhaps you've just not captured it, but it would be good to include the operator waiting time. |
|
Back in Jan 2022 I was looking at the existing online log viewer, and had a chat with Clint about this general area. Didn't go ahead with doing it, but I toyed with the idea of moving it all to structured logging, as I've previously migrated core business excel sheets to webapps with Django. The way I approach that is all about the import script... run it a thousand times until everything imports cleanly (bc the data is always messy) and then you know your structure has everything required. So I had a quick play with Django and sqlite-utils as a way. Notes from that time period are here... it's terse but if you end up doing something about this, hit me up: |
Hello! I have been thinking about the possibility of moving our test logs over to json from the csv that we currently have (that isn't really csv).
I thought I would just hack something together pretty quick and put the idea out there for everyone to comment on. I know there are some stirrings of getting a logging database going, and I think moving over to a json format could help things in that regard as its a lot easier to parse than the csv.
Some notes about the current implementation:
You can run the tiny.py example to see what the log looks like. Currently the log just dumps to C:\Users\username\AppData\Local\Fixate\Logs
Example:
test_log_20250523_124550.json