Reputation: 3840
I use Log4J in a Java project and would like to asynchronously stream my logs to BigQuery. I did some research but couldn't really find a good way to do this. Even though, I think many people do this (I know some that do it for different languages).
Mind you, I found some several years old unmaintained code, but nothing that seems to maintained and that I would consider using in a production project. Also the asynchronous part is very important for me, it should be non-blocking.
Is there a library or some best practices to do this properly?
Upvotes: 0
Views: 704
Reputation: 1672
One solution would be to use the Java client library for Stackdriver Logging. You can then export your logs to BigQuery.
Upvotes: 1