As someone else said, JSON is great for logging. Newlines get escaped, you just write line seperated json entries to a log file. JSON can be easily read by humans, and is trivial to parse in most programming languages.
I like SQLite, but I don't think logging is a good use case.
I like SQLite, but I don't think logging is a good use case.