diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2012-05-03 02:33:59 +0800 |
---|---|---|
committer | Daniel Hartwig <mandyke@gmail.com> | 2012-05-03 02:33:59 +0800 |
commit | 327559344f475a54a5f2c6e8d28fa75247aef637 (patch) | |
tree | bc09184638f9f25d8dbc5781960e66a730008e44 | |
parent | b0d8029d09738cec47b1c7ca5aafbf329fbfa4ed (diff) | |
download | aptitude-327559344f475a54a5f2c6e8d28fa75247aef637.tar.gz |
Actually use aptitude::Logging::Levels
Closes: #654344
-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), |