Commit bf037428168040dd3d448cbd8d1ffc0a2623fe5c:
Don't save log if status is info
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
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