mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-06 01:25:28 +00:00
removed debug log
This commit is contained in:
parent
81d6f6dbf5
commit
bfa53d9604
@ -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')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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(),
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user