Excuse me if this sounds like a basic question, but I'm new to web development.
We load balance across several servers. The apps are configured to log using log4j. They each write to log files on their respective servers. That means that researching issues means getting logs from all of these servers, which is tedious, and means going thru Ops as they control the load balancing, and introduces delays.
Is this the norm for web app logging? Or are there easy solutions to consolidating logging in one place? What are standard practices for making logs easily available to developers?
You can use the following features to monitor your load balancers, analyze traffic patterns, and troubleshoot issues with your load balancers and targets. You can use Amazon CloudWatch to retrieve statistics about data points for your load balancers and targets as an ordered set of time-series data, known as metrics.
Log to SQL using the JDBC appender (or an alternative version) instead of files.
There is a wide variety of logging you can do, and which is available automatically.
Some types are:
If operations is unwilling to give you direct access, see if a routinue dump of these files can be done to a location you can access.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With