dicelab-rhul / matbii

GNU General Public License v3.0
1 stars 0 forks source link

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

Open pingings opened 2 months ago

pingings commented 2 months ago

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 commented 2 months ago

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.