I was exploring logging strategies for projects that need to run all the time. It mainly comes out of a need to find if any errors are thrown by Processing/PApplet.
Here’s a gist/snippet of what I came up with.
It’s lacking log rotations and is being overwritten, but it’s a start.
What are your go-to strategies?
I am not really familiar with logging in Java but here is a nice website that shows different solutions:
One popular logging framework is Log4J (also known for a recent vulnerability )
Hi, @josephh thanks for the feedback.
If anyone is looking for a clear example using the native Java libs, here it is: