summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2013-02-16 23:21:50 +0000
committerIsis Lovecruft <isis@torproject.org>2013-02-16 23:21:50 +0000
commitf02e6aa89d5a22182b5906ea7053eabc7d20ecb9 (patch)
tree0f7288663f8e966e99d539913cca7b52cc23ba22 /src
parent2773a3d35a2c87100da520b7e947d1d77f52e134 (diff)
Add new parameters 'enable_logfile', 'logfile', 'debug', and 'noisy' to the
default config creation template.
Diffstat (limited to 'src')
-rw-r--r--src/leap/mx/util/config.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/leap/mx/util/config.py b/src/leap/mx/util/config.py
index 9bf90e8..cb548f6 100644
--- a/src/leap/mx/util/config.py
+++ b/src/leap/mx/util/config.py
@@ -83,6 +83,10 @@ def _create_config_file(conffile):
#
basic:
+ # Whether or not to log to file:
+ enable_logfile: True
+ # The name of the logfile:
+ logfile: mx.log
# Where is the spoolfile of messages to encrypt?:
spoolfile: /var/mail/encrypt_me
advanced:
@@ -91,9 +95,9 @@ advanced:
# Which port on localhost should postfix ask for UUIDs?:
virtual_alias_map_port: 1348
# Enable debugging output in the logger:
- debug: true
+ debug: True
# Print enough things really fast to make you look super 1337:
- noisy: false
+ noisy: False
""")
conf.flush()