mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-24 06:52:34 +01: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:
parent
d348b2c252
commit
365f3a932d
@ -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'],
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user