summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-08-03 11:13:25 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-08-03 11:13:25 +0200
commit0408d8c3b23367d09980cb27a5225a9f034d7610 (patch)
tree6eae7bae55280f448ec08c5bcf61c43e833b74eb /apt-pkg/init.cc
parentb84fa7158d04f8b2136f01dda106ba0272027887 (diff)
parentb30aa0ec229b851b25ea07c758283f502a3f2cba (diff)
* apt-pkg/deb/dpkgpm.{cc,h}:
- merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to ABI break
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 3ebd592c9..0aff882b6 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -68,6 +68,10 @@ bool pkgInitConfig(Configuration &Cnf)
Cnf.Set("Dir::Etc::parts","apt.conf.d");
Cnf.Set("Dir::Etc::preferences","preferences");
Cnf.Set("Dir::Bin::methods","/usr/lib/apt/methods");
+
+ // State
+ Cnf.Set("Dir::Log","var/log/apt");
+ Cnf.Set("Dir::Log::Name","term.log");
bool Res = true;