mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
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.
This commit is contained in:
parent
b09af6a424
commit
8a48fcc9d3
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user