Log: add request method in logged message prefix
This commit is contained in:
parent
2beee5c645
commit
6f9f6fe3cf
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ class Log {
|
||||||
else {
|
else {
|
||||||
$msg = array(
|
$msg = array(
|
||||||
date('Y/m/d H:i:s'),
|
date('Y/m/d H:i:s'),
|
||||||
|
$_SERVER['REQUEST_METHOD'],
|
||||||
$_SERVER['REQUEST_URI'],
|
$_SERVER['REQUEST_URI'],
|
||||||
self :: get_remote_addr(),
|
self :: get_remote_addr(),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue