Drupal records PHP errors in it's logs. If it's only one server, it's obvious which server handles the hit, but in a cluster's environment, it could be any number of servers, the more there are, the longer it can take to track down a PHP error on an individual server.
I'm proposing checking the server's Hostname using environment variables:
$_ENV["HOSTNAME"]
And recording that in the log, with PHP error entries, to aid in tracking down errors on sites due to problems with an individual node on a site. This is also good information to give to an ISP if you have managed hosting as well. =)
-Myke
Comments
Comment #1
thedavidmeister commentedThere is already a hostname column in the watchdog table.