From 10afbb14d9a13b7d40fecb1e3aa09fd359d62c30 Mon Sep 17 00:00:00 2001 From: razbroc <77406876+razbroc@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:08:13 +0300 Subject: [PATCH] refactor: update debug log format Co-authored-by: Shlomi k <65117898+CL-SHLOMIKONCHA@users.noreply.github.com> --- src/createPackage/models/createPackageManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/createPackage/models/createPackageManager.ts b/src/createPackage/models/createPackageManager.ts index b7d792c..c1a952b 100644 --- a/src/createPackage/models/createPackageManager.ts +++ b/src/createPackage/models/createPackageManager.ts @@ -72,7 +72,7 @@ export class CreatePackageManager { @withSpanAsyncV4 private async validateFreeSpace(estimatesGpkgSize: number): Promise { const diskFreeSpace = await this.getFreeStorage(); // calculate free space including other running jobs - this.logger.debug(`Estimated requested gpkg size: ${estimatesGpkgSize}, Estimated free space: ${diskFreeSpace}`); + this.logger.debug({msg: `Estimated requested gpkg size: ${estimatesGpkgSize}, Estimated free space: ${diskFreeSpace}`}); return diskFreeSpace - estimatesGpkgSize >= 0; }