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

change log file format to put full lines in {} #13

Open
pingings opened this issue Aug 9, 2024 · 1 comment
Open

change log file format to put full lines in {} #13

pingings opened this issue Aug 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@pingings
Copy link

pingings commented Aug 9, 2024

I'm not sure how the log files are intended to be analysed so maybe this isn't relevant - but perhaps would be easier to process them if they were fully in JSON format?

i.e. change format from:
2024-08-08-13-34-41-120409 BurnFuelAction {"id":7400746113474275466646, ...
to:
{"time":"2024-08-08-13-34-41-120409","event":"BurnFuelAction","id":7400746113474275466646, ...

@BenedictWilkins BenedictWilkins added the enhancement New feature or request label Aug 12, 2024
@BenedictWilkins
Copy link
Contributor

it is possible, they are quite easy to process just by splitting the line with split(" ", 2). I wanted to avoid storing more keys that needed in the file (the files are getting quite big), but I will discuss with Szonya.

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

No branches or pull requests

2 participants