removed debug log

This commit is contained in:
einhornimmond 2026-02-26 11:07:03 +01:00
parent 81d6f6dbf5
commit bfa53d9604
3 changed files with 3 additions and 5 deletions

View File

@ -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')
}
}

View File

@ -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(),

View File

@ -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) {