RUST_LOG default to tracing our stuff, only debug for everything else

This commit is contained in:
Cole Mickens 2024-06-04 16:16:26 -07:00
parent b46e247b89
commit b97541a1ff
4 changed files with 6732 additions and 3 deletions

2
dist/index.js generated vendored
View file

@ -95575,7 +95575,7 @@ var MagicNixCacheAction = class extends DetSysAction {
let runEnv; let runEnv;
if (core.isDebug()) { if (core.isDebug()) {
runEnv = { runEnv = {
RUST_LOG: "trace,magic_nix_cache=debug,gha_cache=debug", RUST_LOG: "debug,magic_nix_cache=trace,gha_cache=trace",
RUST_BACKTRACE: "full", RUST_BACKTRACE: "full",
...process.env ...process.env
}; };

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

6729
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -157,7 +157,7 @@ class MagicNixCacheAction extends DetSysAction {
let runEnv; let runEnv;
if (actionsCore.isDebug()) { if (actionsCore.isDebug()) {
runEnv = { runEnv = {
RUST_LOG: "trace,magic_nix_cache=debug,gha_cache=debug", RUST_LOG: "debug,magic_nix_cache=trace,gha_cache=trace",
RUST_BACKTRACE: "full", RUST_BACKTRACE: "full",
...process.env, ...process.env,
}; };