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

sebb 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 a9a500d0 Match new log messages
a9a500d0 is described below

commit a9a500d08869af4185986194e9c255726a199dea
Author: Sebb <s...@apache.org>
AuthorDate: Thu Apr 25 11:41:25 2024 +0100

    Match new log messages
---
 www/status/monitors/site_scan.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/status/monitors/site_scan.rb b/www/status/monitors/site_scan.rb
index 4fcca158..d2cca96d 100644
--- a/www/status/monitors/site_scan.rb
+++ b/www/status/monitors/site_scan.rb
@@ -20,7 +20,7 @@ def Monitor.site_scan(previous_status)
   log = File.read(logfile)
 
   # Drop standard cache info
-  log.gsub! /^([-\w]+ )*https?:\S+ \w+\n/, ''
+  log.gsub! /^([-\w]+ )*https?:\S+ (=> \S* )?\w+\n/, ''
   # Drop other info (must agree with scanner script)
   log.gsub! %r{^(Started|Ended|Events):.+\n}, '' # drop 'Events: already have'
 

Reply via email to