audit log the user-agent

Signed-off-by: Roger Szabo <roger.szabo@web.de>
This commit is contained in:
Roger Szabo 2017-03-09 18:31:25 +08:00
parent a4aea572e4
commit 06bcb220b5
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,10 @@ class Action {
}
$replaceArray[] = $params[$element];
}
//log the User-Agent
$text = $text.' with User-Agent: "%s"';
$replaceArray[] = $_SERVER['HTTP_USER_AGENT'];
$this->logger->info(
vsprintf(