Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
watchdog.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2009 at 20:12 UTC
Updated:
14 Aug 2012 at 21:07 UTC
In a clustered environment it's very useful to add some information to watchdog about the server who triggered an event. For example you want to know on which web server a php or database error occurred.
I attached a patch that adds two values to watchdog:
- server_addr contains the ip address of the server
- server_name contains the name of the virtual host.
| Comment | File | Size | Author |
|---|---|---|---|
| watchdog_server_info-D6.patch | 5.24 KB | mkalkbrenner |
Comments
Comment #1
mkalkbrennerI additionally started porting this patch to Drupal 7: #671070: Add Information about server to watchdog (D7)
Comment #2
naxoc commentedThis cannot go into 6, so closing because there is an issue for 8: #671070: Add Information about server to watchdog (D7)