Download & Extend

Add Information about server to watchdog (D6)

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.

AttachmentSizeStatusTest resultOperations
watchdog_server_info-D6.patch5.24 KBIgnored: Check issue status.NoneNone

Comments

#1

Title:Add Information about server to watchdog» Add Information about server to watchdog (D6)

I additionally started porting this patch to Drupal 7: #671070: Add Information about server to watchdog (D7)

#2

Status:needs review» closed (duplicate)

This cannot go into 6, so closing because there is an issue for 8: #671070: Add Information about server to watchdog (D7)

nobody click here