[MAGNOLIA-9084] Provide debug logs for Virtual URI mappings evaluation Created: 08/Sep/23  Updated: 23/Oct/23  Resolved: 20/Sep/23

Status: Closed
Project: Magnolia
Component/s: Virtual URI mappings
Affects Version/s: 6.2.38
Fix Version/s: 6.3.0, 6.2.40

Type: Improvement Priority: Neutral
Reporter: Mikaël Geljić Assignee: Dai Ha
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 0.5h Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Relates
relates to DOCU-2830 Add more information on the virtual m... Closed
supersession
supersedes MGNLGROOVY-182 Provide script for debugging Virtual ... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MAGNOLIA-9092 Implement Sub-task Completed Mikaël Geljić  
MAGNOLIA-9093 Review Sub-task Completed Dai Ha  
MAGNOLIA-9094 piQA Sub-task Completed Dai Ha  
MAGNOLIA-9095 QA Sub-task Closed Oanh Thai Hoang  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: DevX Bucket
Sprint: DevX 46
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   

As hinted in DOCU-2830:

  • URI mappings evaluation (weights) can be hard to understand when combining "default" and regexp mappings
  • The troubleshooting groovy script is of limited use, especially for cases involving multisite (running groovy might happen only on author instance, or only from one specific domain).

Therefore proposing to add relevant debug logs straight into the filter.

  • 1 statement per match with weight
  • 1 statement with winning match

Generated at Mon Feb 12 04:38:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.