audit log the user-agent
Signed-off-by: Roger Szabo <roger.szabo@web.de>
This commit is contained in:
parent
a4aea572e4
commit
06bcb220b5
|
@ -75,6 +75,10 @@ class Action {
|
||||||
$replaceArray[] = $params[$element];
|
$replaceArray[] = $params[$element];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//log the User-Agent
|
||||||
|
$text = $text.' with User-Agent: "%s"';
|
||||||
|
$replaceArray[] = $_SERVER['HTTP_USER_AGENT'];
|
||||||
|
|
||||||
$this->logger->info(
|
$this->logger->info(
|
||||||
vsprintf(
|
vsprintf(
|
||||||
$text,
|
$text,
|
||||||
|
|
Loading…
Reference in New Issue