summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-06-21 22:13:03 +0000
committerPeter Palfrader <peter@palfrader.org>2006-06-21 22:13:03 +0000
commitfb6d4855baf0cddc7ce4bff73b12822414013282 (patch)
tree9b118bdb12d3690029f6f8b9518aee7496e46e4b /debian
parente2697a62ac0633f44ca76b0906aaf6234084d128 (diff)
downloadtor-fb6d4855baf0cddc7ce4bff73b12822414013282.tar.gz
tor-fb6d4855baf0cddc7ce4bff73b12822414013282.zip
Fix 07_log_to_file_by_default in debian head
svn:r6674
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/patches/07_log_to_file_by_default.dpatch3
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 8248cb306e..078d6c7d52 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,7 @@ tor (0.1.2.0-alpha-cvs-1) unstable; urgency=low
* CVS snapshot.
* Forward port 07_log_to_file_by_default.dpatch.
- -- Peter Palfrader <weasel@debian.org> Fri, 16 Jun 2006 01:14:04 +0200
+ -- Peter Palfrader <weasel@debian.org> Thu, 22 Jun 2006 00:12:44 +0200
tor (0.1.1.21-1) unstable; urgency=low
diff --git a/debian/patches/07_log_to_file_by_default.dpatch b/debian/patches/07_log_to_file_by_default.dpatch
index 60d12608ea..c925c5efe0 100755
--- a/debian/patches/07_log_to_file_by_default.dpatch
+++ b/debian/patches/07_log_to_file_by_default.dpatch
@@ -29,8 +29,9 @@ diff -urNad tor-0.1.2.0-alpha-cvs/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.2.0-a
@@ -2079,7 +2079,7 @@
/* Special case on first boot if no Log options are given. */
- if (!options->Logs && !options->RunAsDaemon && !from_setconf)
+- if (!options->Logs && !options->RunAsDaemon && !from_setconf)
- config_line_append(&options->Logs, "Log", "notice stdout");
++ if (!options->Logs && !from_setconf)
+ config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");
if (options_init_logs(options, 1)<0) /* Validate the log(s) */