[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [obfs4/master] Actually support unsafe logging.
commit f638c33f6c6f697498150d5f0dfbf26453759262
Author: Philipp Winter <phw@xxxxxxxxx>
Date: Mon Dec 7 10:23:44 2020 -0800
Actually support unsafe logging.
Obfs4proxy implements the -unsafeLogging switch but it's been ignored so
far. This patch makes it work.
---
ChangeLog | 1 +
common/log/log.go | 1 +
2 files changed, 2 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 5b16201..467f7d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
Changes in version 0.0.12 - UNRELEASED:
- Replace the extra25519 import with an internal package.
- Update the Azure TLS certificate digest (Thanks to Philipp Winter).
+ - Make the -unsafeLogging command line switch work.
Changes in version 0.0.11 - 2019-06-21:
- Update my e-mail address.
diff --git a/common/log/log.go b/common/log/log.go
index 61d8d8c..5e08c64 100644
--- a/common/log/log.go
+++ b/common/log/log.go
@@ -70,6 +70,7 @@ func Init(enable bool, logFilePath string, unsafe bool) error {
log.SetOutput(ioutil.Discard)
}
enableLogging = enable
+ unsafeLogging = unsafe
return nil
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits