diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-07-18 00:49:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 16:49:03 -0600 |
commit | 8a48fcc9d3ee83ef2a02fe3db056f16a1276c540 (patch) | |
tree | eb447bf3c2113b1ccb17086e5aad78cebbc32ce9 /cli/util/logger.rs | |
parent | b09af6a4244356485054948499dba5f94d8814f4 (diff) |
chore: disable rustls logging (#19859)
This commit disables internal logging coming from `rustls` crate.
So messages like:
```
TLS alert received: AlertMessagePayload {
level: Fatal,
description: UnknownCA,
}
```
will no longer appear unconditionally.
Diffstat (limited to 'cli/util/logger.rs')
-rw-r--r-- | cli/util/logger.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/util/logger.rs b/cli/util/logger.rs index 910dbb020..e430b0ec9 100644 --- a/cli/util/logger.rs +++ b/cli/util/logger.rs @@ -44,6 +44,7 @@ pub fn init(maybe_level: Option<log::Level>) { // used to make available the lsp_debug which is then filtered out at runtime // in the cli logger .filter_module("deno::lsp::performance", log::LevelFilter::Debug) + .filter_module("rustls", log::LevelFilter::Off) .format(|buf, record| { let mut target = record.target().to_string(); if let Some(line_no) = record.line() { |