You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/04/15 18:06:57 UTC

[whimsy] branch master updated: write status data out to help with debugging

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

The following commit(s) were added to refs/heads/master by this push:
       new  5e60d90   write status data out to help with debugging
5e60d90 is described below

commit 5e60d90792e63cc5caae44f3e6891e8bf79ac9ac
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Apr 15 14:06:34 2017 -0400

    write status data out to help with debugging
---
 www/status/monitor.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/status/monitor.rb b/www/status/monitor.rb
index 16d1ad0..c774822 100644
--- a/www/status/monitor.rb
+++ b/www/status/monitor.rb
@@ -94,6 +94,9 @@ class Monitor
       # normalize status
       @status = normalize(data: newstatus)
 
+      File.write(File.expand_path("../../logs/status.data", __FILE__),
+        @status.inspect)
+
       # update results
       file.rewind
       file.write JSON.pretty_generate(@status)

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].