fix(@deltachat/stdio-rpc-server): do not set RUST_LOG to "info" by default

`info` enables info level logging for all libraries,
e.g. iroh starts printing very verbose logs
to stderr this way.
This commit is contained in:
link2xt
2024-05-23 15:13:15 +00:00
parent 97828234dd
commit 8c3c0484ed

View File

@@ -70,7 +70,7 @@ export async function startDeltaChat(directory, options = {}) {
const pathToServerBinary = await getRPCServerPath(options);
const server = spawn(pathToServerBinary, {
env: {
RUST_LOG: process.env.RUST_LOG || "info",
RUST_LOG: process.env.RUST_LOG,
DC_ACCOUNTS_PATH: directory,
},
stdio: ["pipe", "pipe", options.muteStdErr ? "ignore" : "inherit"],