From 3cd6eacd1ab42e414f0d899a3f74fc60140f0e8a Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 23 Jan 2024 18:37:42 +0100 Subject: Change the default log level from debug to notice We never used the debug level before, so we can do that. This allows us to have the new audit level. We did call DumpErrors() with DEBUG in two debug code paths, so don't touch those. debug --- apt-private/private-cmndline.cc | 2 +- apt-private/private-output.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-private') diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc index e0e00c917..a37af6b58 100644 --- a/apt-private/private-cmndline.cc +++ b/apt-private/private-cmndline.cc @@ -604,7 +604,7 @@ unsigned short DispatchCommandLine(CommandLine &CmdL, std::vectorFindI("quiet",0) > 0) _error->DumpErrors(); else - _error->DumpErrors(GlobalError::DEBUG); + _error->DumpErrors(GlobalError::NOTICE); if (returned == false) return 100; return Errors == true ? 100 : 0; diff --git a/apt-private/private-output.cc b/apt-private/private-output.cc index c2e936d2c..179078e80 100644 --- a/apt-private/private-output.cc +++ b/apt-private/private-output.cc @@ -802,7 +802,7 @@ bool YnPrompt(char const * const Question, bool const Default, bool const ShowGl if (_config->FindI("quiet",0) > 0) _error->DumpErrors(c2o); else - _error->DumpErrors(c2o, GlobalError::DEBUG); + _error->DumpErrors(c2o, GlobalError::NOTICE); } c2o << Question << std::flush; -- cgit v1.2.3-70-g09d2