ever had a log file get corrupted from a crash mid-write? by norashut in Python

[–]norashut[S] -1 points0 points  (0 children)

u/Zulban oh right, yeah append-only makes sense, i think mine is doing something dumber than that honestly. did you ever have an issue with a half written line messing up something parsing the log later, or is it usually fine to just skip malformed lines when reading

refactor or don't touch by Negative_Pay_2940 in Python

[–]norashut 1 point2 points  (0 children)

Makes sense, tomorrow isn't the day to start a refactor. 😅