This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit b464fe225f26e9dfd8c48f32441917260996378d
Author: Sam Ruby <[email protected]>
AuthorDate: Tue Jun 5 09:01:33 2018 -0400

    enable logging in development mode
---
 www/board/agenda/main.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/main.rb b/www/board/agenda/main.rb
index e2d5058..bbcf8e6 100755
--- a/www/board/agenda/main.rb
+++ b/www/board/agenda/main.rb
@@ -24,7 +24,9 @@ require 'mail'
 require 'open-uri'
 require 'erubis'
 
-disable :logging # suppress log of requests to stderr/error.log
+unless ENV['RACK_ENV'] == 'development'
+  disable :logging # suppress log of requests to stderr/error.log
+end
 
 # determine where relevant data can be found
 if ENV['RACK_ENV'] == 'test'

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to