Commit 761f50c6 authored by Julien Muchembled's avatar Julien Muchembled

Log environment at startup

parent dff26690
...@@ -114,7 +114,8 @@ def main(): ...@@ -114,7 +114,8 @@ def main():
# Set logging # Set logging
utils.setupLog(config.verbose, os.path.join(config.log, 're6stnet.log')) utils.setupLog(config.verbose, os.path.join(config.log, 're6stnet.log'))
logging.trace("Configuration:\n%r", config) logging.trace("Environment: %r", os.environ)
logging.trace("Configuration: %r", config)
utils.makedirs(config.state) utils.makedirs(config.state)
db_path = os.path.join(config.state, 'peers.db') db_path = os.path.join(config.state, 'peers.db')
if config.ovpnlog: if config.ovpnlog:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment