From 682445330620c612137a7be0129f84b27a0100fe Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 30 Oct 2011 22:28:19 +0000
Subject: [PATCH] report config settings at startup

---
 client/djrandom_client/client.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/client/djrandom_client/client.py b/client/djrandom_client/client.py
index 0ad3588..0daaa80 100644
--- a/client/djrandom_client/client.py
+++ b/client/djrandom_client/client.py
@@ -52,7 +52,12 @@ class FullScan(threading.Thread):
             time.sleep(delay)
 
 
-def run_client(server_url, music_dir, api_key, run_once, bwlimit, enable_watcher):
+def run_client(server_url, music_dir, api_key, run_once, bwlimit,
+               enable_watcher):
+    log.debug('settings: server=%s, music_dir=%s, api_key=%s, '
+              'bwlimit=%s, watcher=%s' % (
+        server_url, music_dir, api_key, bwlimit, str(enable_watcher)))
+
     # Warn if we're running without a bandwidth limit.
     bwlimit = int(bwlimit)
     if bwlimit <= 0:
-- 
GitLab