2
## 07_log_to_file_by_default.dpatch by <weasel@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
12
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
16
-patch) patch -p1 ${patch_opts} < $0;;
17
-unpatch) patch -R -p1 ${patch_opts} < $0;;
19
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
26
diff -urNad tor-0.0.9rc7/src/or/config.c /tmp/dpep.BdF2iw/tor-0.0.9rc7/src/or/config.c
27
--- tor-0.0.9rc7/src/or/config.c 2004-12-08 13:20:28.111199142 +0100
28
+++ /tmp/dpep.BdF2iw/tor-0.0.9rc7/src/or/config.c 2004-12-08 13:22:08.294210420 +0100
31
/* Special case if no options are given. */
33
- options->Logs = config_line_prepend(NULL, "Log", "notice stdout");
34
+ options->Logs = config_line_prepend(NULL, "Log", "notice file /var/log/tor/log");
37
if (config_init_logs(options, 1)<0) /* Validate the log(s) */