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/02/24 12:46:32 UTC

[whimsy.git] [1/1] Commit bf03742: Don't save log if status is info

Commit bf037428168040dd3d448cbd8d1ffc0a2623fe5c:
    Don't save log if status is info


Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>

------------------------------------------------------------
www/status/monitors/public_json.rb                           | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/status/monitors/public_json.rb b/www/status/monitors/public_json.rb
index fb56319..3b7bcaa 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -76,7 +76,7 @@ def Monitor.public_json(previous_status)
       }
     end
 
-    if status[name][:level]
+    if status[name][:level] and status[name][:level] != 'info'
       FileUtils.copy log, archive,
         preserve: true
     end