diff --git a/.changeset/few-rules-cough.md b/.changeset/few-rules-cough.md new file mode 100644 index 00000000000..fa68a91b130 --- /dev/null +++ b/.changeset/few-rules-cough.md @@ -0,0 +1,6 @@ +--- +swc_core: patch +swc_ecma_loader: patch +--- + +fix(es/module): drop the priority of a few tracing events diff --git a/crates/swc_ecma_loader/src/resolvers/node.rs b/crates/swc_ecma_loader/src/resolvers/node.rs index bc2d74fc749..7eaabb4f9bb 100644 --- a/crates/swc_ecma_loader/src/resolvers/node.rs +++ b/crates/swc_ecma_loader/src/resolvers/node.rs @@ -157,7 +157,7 @@ impl NodeModulesResolver { let _tracing = if cfg!(debug_assertions) { Some( tracing::span!( - Level::ERROR, + Level::TRACE, "resolve_as_file", path = tracing::field::display(path.display()) ) @@ -239,7 +239,7 @@ impl NodeModulesResolver { let _tracing = if cfg!(debug_assertions) { Some( tracing::span!( - Level::ERROR, + Level::TRACE, "resolve_as_directory", path = tracing::field::display(path.display()) ) @@ -279,7 +279,7 @@ impl NodeModulesResolver { let _tracing = if cfg!(debug_assertions) { Some( tracing::span!( - Level::ERROR, + Level::TRACE, "resolve_package_entry", pkg_dir = tracing::field::display(pkg_dir.display()), pkg_path = tracing::field::display(pkg_path.display()),