If you want to run reports on the data, or ask it questions later, a database is a logical choice, especially if you are storing multiple runs in the same database file to look for trends.
If you are only writing the logs from individual runs, and don’t care about the data after you review it, then a database probably doesn’t make sense.