Stop using 'url' param when logging

Bug: T245306
Change-Id: I3ba196e01afe172a99d15abf654a630a3f3d219f
This commit is contained in:
Reedy 2020-02-14 20:59:55 +00:00
parent c3a2b12077
commit 819881ad9c

View file

@ -132,7 +132,7 @@ class MathRestbaseInterface {
$this->log()->info( 'Tex check failed:', [
'post' => $request['body'],
'error' => $response['error'],
'url' => $request['url']
'urlparams' => $request['url']
] );
}
return $response;
@ -452,7 +452,7 @@ class MathRestbaseInterface {
// Remove "convenience" duplicate keys put in place by MultiHttpClient
unset( $response[0], $response[1], $response[2], $response[3], $response[4] );
$this->log()->error( 'Restbase math server problem:', [
'url' => $request['url'],
'urlparams' => $request['url'],
'response' => [ 'code' => $response['code'], 'body' => $response['body'] ],
'math_type' => $type,
'tex' => $this->tex