summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-01-10 23:18:48 +0000
committerPeter Palfrader <peter@palfrader.org>2006-01-10 23:18:48 +0000
commit72277b1507e1c78e89943d93a8c1ab74f4afdf55 (patch)
tree49e9c20c40f44ea35263ad23b4143b5b6bc22b14
parent906a2c8ef02bf3233167e53e0bfdd734bc3d1af5 (diff)
downloadtor-72277b1507e1c78e89943d93a8c1ab74f4afdf55.tar.gz
tor-72277b1507e1c78e89943d93a8c1ab74f4afdf55.zip
Forward port debian/patches/07_log_to_file_by_default.dpatch again
svn:r5784
-rwxr-xr-xdebian/patches/07_log_to_file_by_default.dpatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/07_log_to_file_by_default.dpatch b/debian/patches/07_log_to_file_by_default.dpatch
index e910f5ebc0..3ea101780f 100755
--- a/debian/patches/07_log_to_file_by_default.dpatch
+++ b/debian/patches/07_log_to_file_by_default.dpatch
@@ -29,7 +29,7 @@ diff -urNad tor-0.1.1.5/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.1.5/src/or/conf
@@ -1548,7 +1548,7 @@
/* Special case on first boot if no Log options are given. */
- if (!old_options && !options->Logs) {
+ if (!options->Logs && !from_setconf) {
- config_line_append(&options->Logs, "Log", "notice stdout");
+ config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");
}