Do not escape slashes for logged exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
4011262fab
commit
0a4dd3605b
|
@ -324,7 +324,7 @@ class Log implements ILogger {
|
|||
try {
|
||||
if ($level >= $minLevel) {
|
||||
if (!$this->logger instanceof IFileBased) {
|
||||
$data = json_encode($data, JSON_PARTIAL_OUTPUT_ON_ERROR);
|
||||
$data = json_encode($data, JSON_PARTIAL_OUTPUT_ON_ERROR | JSON_UNESCAPED_SLASHES);
|
||||
}
|
||||
$this->writeLog($app, $data, $level);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue