mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-09 14:46:46 +02:00
Add contents of $_SERVER['SERVER_NAME'] as 'server_name'. Useful for
figuring out the source of log messages when you have a lot of vhosts.
This commit is contained in:
@@ -52,6 +52,7 @@ class WebProcessor
|
||||
'url' => $this->serverData['REQUEST_URI'],
|
||||
'ip' => $this->serverData['REMOTE_ADDR'],
|
||||
'http_method' => $this->serverData['REQUEST_METHOD'],
|
||||
'server_name' => $this->serverData['SERVER_NAME'],
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user