mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Forward port debian/patches/07_log_to_file_by_default.dpatch again
svn:r5784
This commit is contained in:
parent
906a2c8ef0
commit
72277b1507
1 changed files with 1 additions and 1 deletions
|
@ -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 @@
|
@@ -1548,7 +1548,7 @@
|
||||||
|
|
||||||
/* Special case on first boot if no Log options are given. */
|
/* 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 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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue