Skip to content

Commit

Permalink
fix(@deltachat/stdio-rpc-server): do not set RUST_LOG to "info" by de…
Browse files Browse the repository at this point in the history
…fault

`info` enables info level logging for all libraries,
e.g. iroh starts printing very verbose logs
to stderr this way.
  • Loading branch information
link2xt committed May 23, 2024
1 parent 9782823 commit 8c3c048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltachat-rpc-server/npm-package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 8c3c048

Please sign in to comment.