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 3a211f07 Stricter matching: was swallowing some error message data
3a211f07 is described below
commit 3a211f07d0fe39373c843a36eeadd2c6b384252f
Author: Sebb <[email protected]>
AuthorDate: Tue Feb 18 00:42:56 2025 +0000
Stricter matching: was swallowing some error message data
---
lib/whimsy/logparser.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/logparser.rb b/lib/whimsy/logparser.rb
index 19928494..f0019f9d 100755
--- a/lib/whimsy/logparser.rb
+++ b/lib/whimsy/logparser.rb
@@ -185,7 +185,7 @@ module LogParser
# [..date..] [proxy:error] [pid ...] [client ...] AH00898: Error during SSL
Handshake with remote server returned by /board/agenda/websocket/
# [..date..] [proxy:error] [pid ...] (20014)Internal error (specific
information not available): [client ...] AH01084: pass request body failed to
127.0.0.1:34234 (localhost)
def parse_whimsy_error(f, logs = {})
- r = Regexp.new('\[(?<errdate>[^\]]*)\] \[[\w_]+:error\] \[.+?\] (.+:
)?\[.+?\] (?<errline>.+)')
+ r = Regexp.new('\[(?<errdate>[^\]]*)\] \[[\w_]+:error\] \[.+?\] (.+:
)?\[client .+?\] (?<errline>.+)')
ignored = Regexp.union(IGNORE_TRACEBACKS)
read_logz(f).lines.each do |l|
r.match(l) do |m|