summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorArlo Breault <arlolra@gmail.com>2014-03-23 09:24:26 -0700
committerNick Mathewson <nickm@torproject.org>2014-07-16 12:16:49 +0200
commit15e170e01b3f67325f952d0becda0438fa879907 (patch)
tree3c9f235db67491c0708a5fccfaf34cfa95ce548b /src/or/or.h
parent98541f2892335a5a512a6c01b2f2227bde1d649e (diff)
downloadtor-15e170e01b3f67325f952d0becda0438fa879907.tar.gz
tor-15e170e01b3f67325f952d0becda0438fa879907.zip
Add an option to overwrite logs
* Issue #5583
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 131bce3e11..0419111a4e 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3402,6 +3402,8 @@ typedef struct {
int LogMessageDomains; /**< Boolean: Should we log the domain(s) in which
* each log message occurs? */
+ int TruncateLogFile; /**< Boolean: Should we truncate the log file
+ before we start writing? */
char *DebugLogFile; /**< Where to send verbose log messages. */
char *DataDirectory; /**< OR only: where to store long-term data. */