Posted by mkalkbrenner on December 30, 2009 at 8:12pm
3 followers
Jump to:
| Project: | Drupal core |
| Version: | 6.x-dev |
| Component: | watchdog.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
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.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| watchdog_server_info-D6.patch | 5.24 KB | Ignored: Check issue status. | None | None |
Comments
#1
I additionally started porting this patch to Drupal 7: #671070: Add Information about server to watchdog (D7)
#2
This cannot go into 6, so closing because there is an issue for 8: #671070: Add Information about server to watchdog (D7)