Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be useful to have the host as well as the full request URI, so that if multiple sites feed to the same logger, it's easy to separate them out.
In Drupal 6, we used to use the gelf module, which added "Server_host" in #1247572: add Server Name for identifying separate environments
Comment | File | Size | Author |
---|---|---|---|
#2 | host-3088690-2.patch | 561 bytes | malcomio |
Comments
Comment #2
malcomio CreditAttribution: malcomio at Capgemini commentedComment #3
jonathan_hunt CreditAttribution: jonathan_hunt at Catalyst IT commentedPatch working for me ok, thanks.
Comment #4
RoSk0While host name might be a useful information to have, I don't see how it is related to "RequestUriProcessor". Feels like it should be a separate processor.
Comment #5
lussolucaCommitted and pushed to 2.x-dev. Thanks!
I add this as a new Processor.