From 78fdb2f4d12deb0b73bcbbc1ff513bbbcd24df09 Mon Sep 17 00:00:00 2001 From: Michael Angerman <1809991+stormasm@users.noreply.github.com> Date: Wed, 5 Jun 2024 08:54:38 -0700 Subject: [PATCH] reduce log tracing in nu-cli (#13067) This one trace message creates thousands of lines of trace messages that is probably better suited to using on an *as needed* basis rather than everyone having to wade through it... For now, I just commented it out but eventually this line of code should be removed and used simply for the time when someone needs to see it... --- crates/nu-cli/src/reedline_config.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/nu-cli/src/reedline_config.rs b/crates/nu-cli/src/reedline_config.rs index 3f920a00cb..9c08265dfa 100644 --- a/crates/nu-cli/src/reedline_config.rs +++ b/crates/nu-cli/src/reedline_config.rs @@ -1,6 +1,5 @@ use crate::{menus::NuMenuCompleter, NuHelpCompleter}; use crossterm::event::{KeyCode, KeyModifiers}; -use log::trace; use nu_ansi_term::Style; use nu_color_config::{color_record_to_nustyle, lookup_ansi_color_style}; use nu_engine::eval_block; @@ -80,7 +79,7 @@ pub(crate) fn add_menus( stack: &Stack, config: &Config, ) -> Result<Reedline, ShellError> { - trace!("add_menus: config: {:#?}", &config); + //log::trace!("add_menus: config: {:#?}", &config); line_editor = line_editor.clear_menus(); for menu in &config.menus {