]> git.ipfire.org Git - pakfire.git/commitdiff
libpakfire: Log configuration of Pakfire
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Nov 2017 22:01:10 +0000 (23:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Nov 2017 22:01:10 +0000 (23:01 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/pakfire.c

index 1c479a6ef05435545e6888974888813cadecc70c..b163913573824704a19e27be35e66141659bb28f 100644 (file)
@@ -68,6 +68,8 @@ Pakfire pakfire_create(const char* path, const char* arch) {
                        pakfire_set_log_priority(pakfire, log_priority(priority));
 
                DEBUG(pakfire, "Pakfire initialized at %p\n", pakfire);
+               DEBUG(pakfire, "  arch = %s\n", pakfire->arch);
+               DEBUG(pakfire, "  path = %s\n", pakfire->path);
 
                // Initialize the pool
                pakfire->pool = pakfire_pool_create(pakfire);