I want to have a discussion about logging strategies when writing code and thinking about use cases for two different paths ‘/var/’ and ‘/srv/’
I have found that generally when working with a web server or similar component I like the application level logs to ‘/srv/code’
When working through problems it has been helpful to have application errors in that path, rather than ‘/var/’ generally I have system components go to ‘/var/’, with naming conventions that help identify what the application is and important details of the log.