aura
aura2mo ago

How to disable DEBUG RS

The spam is insane and no one seems to have a clue how to nuke that
No description
2 Replies
Deno AI Helper
Deno AI Helper2mo ago
I wasn't able to find the answer to your question in the official Deno documentation. However, based on your message, it seems like you might be referring to a debug logging setting that is producing a lot of output, possibly related to the Rust language integration within Deno. If "DEBUG RS" is an environment variable that controls the verbosity of logging, you might try setting it to a lower level or disabling it entirely. For example, in a Unix-like shell, you could try running Deno with the environment variable unset:
DEBUG_RS= deno run your_script.ts
DEBUG_RS= deno run your_script.ts
Or, if there's a specific configuration in your code that's enabling verbose logging, you might want to look for any debug! or trace! macros (if it's Rust code) or similar logging configurations and adjust them accordingly. Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of this advice, possibly by reviewing the relevant parts of your code or any third-party modules you are using that might be responsible for the verbose logging. If the issue persists, you might want to reach out to the community or maintainers of the specific module or tool that is generating the excessive logging for further assistance.
aura
aura2mo ago
Epic, changed my RUST_LOG env var and yeah it fixed it, though I don't know why Deno would use RUST_LOG considering the application but anyway