1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 22:07:31 +03:00

Reduce JSON-API logging. (#4221)

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti 2021-11-02 13:31:10 +02:00 committed by GitHub
parent 6b9c55365c
commit 6b047332c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ export class JsonApi<D = JsonApiData, P extends JsonApiParams = JsonApiParams> {
protected writeLog(log: JsonApiLog) {
const { method, reqUrl, ...params } = log;
logger.info(`[JSON-API] request ${method} ${reqUrl}`, params);
logger.debug(`[JSON-API] request ${method} ${reqUrl}`, params);
}
}