You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/03/14 13:45:08 UTC
[whimsy.git] [1/1] Commit 9996fbf: Allow --debug to work from command-line
Commit 9996fbf601d3b9a64073f05770419ba6040dc04f:
Allow --debug to work from command-line
Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>
------------------------------------------------------------
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|