diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/main.cc | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -20,6 +20,8 @@ Version 0.6.7 "I said 'Step pause turn clean') will now fail if aptitude is downloading or installing packages. (Closes: #370381) + * [all]: Actually use aptitude::Logging::Levels (Closes: #654344) + - Internal changes: * [all]: No longer use ListUpdate (from libapt-pkg) to update package diff --git a/src/main.cc b/src/main.cc index d09344c9..ea90abed 100644 --- a/src/main.cc +++ b/src/main.cc @@ -494,7 +494,7 @@ namespace } /** \brief Apply logging levels from the configuration file. */ - void apply_config_file_logging_levels(Configuration *config) + void apply_config_file_logging_levels(signalling_config *config) { const Configuration::Item *tree = config->Tree(PACKAGE "::Logging::Levels"); if(tree == NULL) @@ -1041,6 +1041,8 @@ int main(int argc, char *argv[]) why_display_mode = aptitude::why::no_summary; } + apply_config_file_logging_levels(aptcfg); + if(!log_file.empty()) Logger::getLogger("") ->connect_message_logged(sigc::bind(sigc::ptr_fun(&handle_message_logged), |