summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--src/main.cc4
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 16d5693a..28387e8d 100644
--- a/NEWS
+++ b/NEWS
@@ -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),