Logs from load-balanced servers


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?

Best Solution

Log to SQL using the JDBC appender (or an alternative version) instead of files.

Related Question