Fix verbose logging

This commit is contained in:
Sander Declerck 2026-03-09 09:24:55 +01:00
parent 261aca9701
commit 8086f6e7d7
No known key found for this signature in database

View file

@ -72,7 +72,7 @@ export function createRamaProxy(ramaPath) {
async function startRama(ramaPath, dataFolder) { async function startRama(ramaPath, dataFolder) {
const startTime = Date.now(); const startTime = Date.now();
const args = ["--secrets", "memory", "--data", dataFolder]; const args = ["--secrets", "memory", "--data", dataFolder];
const stdio = LOGGING_VERBOSE ? "inherit" : "pipe"; const stdio = getLoggingLevel() === LOGGING_VERBOSE ? "inherit" : "pipe";
const process = spawn(ramaPath, args, { stdio: stdio }); const process = spawn(ramaPath, args, { stdio: stdio });
// wait for the proxy process to start (poll for proxy.addr.txt file) // wait for the proxy process to start (poll for proxy.addr.txt file)