diff --git a/dlt-connector/src/bootstrap/initGradidoNode.ts b/dlt-connector/src/bootstrap/initGradidoNode.ts index f7e3036af..e0d1a047d 100644 --- a/dlt-connector/src/bootstrap/initGradidoNode.ts +++ b/dlt-connector/src/bootstrap/initGradidoNode.ts @@ -74,8 +74,6 @@ async function ensureGradidoNodeRuntimeAvailable(runtimeFileName: string): Promi fs.writeFileSync(archivePath, Buffer.from(compressedBuffer)) execSync(`tar -xzf ${archivePath}`, { cwd: runtimeFolder }) } - } else { - console.log('file exist') } } diff --git a/dlt-connector/src/client/GradidoNode/GradidoNodeProcess.ts b/dlt-connector/src/client/GradidoNode/GradidoNodeProcess.ts index 7780a815f..a98db7d71 100644 --- a/dlt-connector/src/client/GradidoNode/GradidoNodeProcess.ts +++ b/dlt-connector/src/client/GradidoNode/GradidoNodeProcess.ts @@ -56,10 +56,11 @@ export class GradidoNodeProcess { this.logger.warn('GradidoNodeProcess already running.') return } - this.logger.info(`starting GradidoNodeProcess with path: ${GradidoNodeProcess.getRuntimePathFileName()}`) + const gradidoNodeRuntimePath = GradidoNodeProcess.getRuntimePathFileName() + this.logger.info(`starting GradidoNodeProcess with path: ${gradidoNodeRuntimePath}`) this.lastStarted = new Date() const logger = this.logger - this.proc = spawn([GradidoNodeProcess.getRuntimePathFileName()], { + this.proc = spawn([gradidoNodeRuntimePath], { env: { CLIENTS_HIERO_NETWORKTYPE: CONFIG.HIERO_HEDERA_NETWORK, SERVER_JSON_RPC_PORT: CONFIG.DLT_NODE_SERVER_PORT.toString(), diff --git a/dlt-connector/src/utils/filesystem.ts b/dlt-connector/src/utils/filesystem.ts index bdb12ee8e..338d536d8 100644 --- a/dlt-connector/src/utils/filesystem.ts +++ b/dlt-connector/src/utils/filesystem.ts @@ -6,7 +6,6 @@ const logger = getLogger(`${LOG4JS_BASE_CATEGORY}.utils.filesystem`) export function checkFileExist(filePath: string): boolean { try { - console.log(`check access to ${filePath}`) fs.accessSync(filePath, fs.constants.R_OK | fs.constants.W_OK) return true } catch (_err) {