aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-19 20:07:08 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-19 20:07:08 +0000
commit9d2cd7fc6e01ee5aafeaf222b5020c464a01a03d (patch)
tree6aed917dcc979673b9870fd29ed41b07e1b36f44 /src/or/or.h
parent1a829b0df4faf09546d9e4e9bbcc657405aee94a (diff)
downloadtor-9d2cd7fc6e01ee5aafeaf222b5020c464a01a03d.tar
tor-9d2cd7fc6e01ee5aafeaf222b5020c464a01a03d.tar.gz
Allow multiple logfiles at different severity ranges
svn:r1899
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 601ee6c19..3422f8adb 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -753,6 +753,9 @@ typedef struct circuit_t circuit_t;
/** Configuration options for a Tor process */
typedef struct {
+ struct config_line_t *LogOptions; /**< List of configuration lines
+ * for logfiles */
+
char *LogLevel; /**< Verbosity of log: minimal level of messages to report. */
char *LogFile; /**< Where to send normal log messages. */
char *DebugLogFile; /**< Where to send verbose log messages. */
@@ -811,8 +814,6 @@ typedef struct {
int BandwidthBurst; /**< How much bandwidth, at maximum, are we willing to
* use in a second? */
int NumCpus; /**< How many CPUs should we try to use? */
- int loglevel; /**< How verbose should we be? Log messages less severe than
- * this will be ignored. */
int RunTesting; /**< If true, create testing circuits to measure how well the
* other ORs are running. */
struct config_line_t *RendConfigLines; /**< List of configuration lines
@@ -951,6 +952,7 @@ struct config_line_t {
int config_assign_default_dirservers(void);
int getconfig(int argc, char **argv, or_options_t *options);
+void config_init_logs(or_options_t *options);
/********************************* connection.c ***************************/