mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Forward port patches/07_log_to_file_by_default
svn:r6263
This commit is contained in:
parent
26eb815f73
commit
4f0d7b7424
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
tor (0.1.1.17-rc-1) experimental; urgency=low
|
||||||
|
|
||||||
|
* New upstream version.
|
||||||
|
* Forward port patches/07_log_to_file_by_default.
|
||||||
|
|
||||||
|
-- Peter Palfrader <weasel@debian.org> Tue, 28 Mar 2006 09:48:04 +0200
|
||||||
|
|
||||||
tor (0.1.1.16-rc-1) experimental; urgency=low
|
tor (0.1.1.16-rc-1) experimental; urgency=low
|
||||||
|
|
||||||
* New upstream version.
|
* New upstream version.
|
||||||
|
12
debian/patches/07_log_to_file_by_default.dpatch
vendored
12
debian/patches/07_log_to_file_by_default.dpatch
vendored
@ -23,15 +23,15 @@ esac
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@DPATCH@
|
@DPATCH@
|
||||||
diff -urNad tor-0.1.1.5/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.1.5/src/or/config.c
|
diff -urNad tor-0.1.1.17/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.1.17/src/or/config.c
|
||||||
--- tor-0.1.1.5/src/or/config.c
|
--- tor-0.1.1.17/src/or/config.c
|
||||||
+++ /tmp/dpep.YwfNhI/tor-0.1.1.5/src/or/config.c
|
+++ /tmp/dpep.YwfNhI/tor-0.1.1.17/src/or/config.c
|
||||||
@@ -1548,7 +1548,7 @@
|
@@ -2079,7 +2079,7 @@
|
||||||
|
|
||||||
/* Special case on first boot if no Log options are given. */
|
/* Special case on first boot if no Log options are given. */
|
||||||
if (!options->Logs && !from_setconf) {
|
if (!options->Logs && !from_setconf)
|
||||||
- config_line_append(&options->Logs, "Log", "notice stdout");
|
- config_line_append(&options->Logs, "Log", "notice stdout");
|
||||||
+ config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");
|
+ config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");
|
||||||
}
|
|
||||||
|
|
||||||
if (options_init_logs(options, 1)<0) /* Validate the log(s) */
|
if (options_init_logs(options, 1)<0) /* Validate the log(s) */
|
||||||
|
REJECT("Failed to validate Log options. See logs for details.");
|
||||||
|
Loading…
Reference in New Issue
Block a user