Commit 9996fbf601d3b9a64073f05770419ba6040dc04f:
Allow --debug to work from command-line
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
www/roster/public_json_common.rb | ++ -
------------------------------------------------------------
3 changes: 2 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/roster/public_json_common.rb b/www/roster/public_json_common.rb
index 09f2ded..bc55268 100644
--- a/www/roster/public_json_common.rb
+++ b/www/roster/public_json_common.rb
@@ -15,7 +15,8 @@
require 'open3'
require 'wunderbar'
-Wunderbar.log_level = 'info' # Temporary for testing
+
+Wunderbar.log_level = 'info' unless Wunderbar.log_level == 'debug' # don't
override command-line level
# Add datestamp to log messages (progname is not needed as each prog has its
own logfile)
Wunderbar.logger.formatter = proc { |severity, datetime, progname, msg|