[TT-15935] Feature Request - Standardize Log Message Key Across All Tyk Components#8236
Conversation
|
This PR standardizes the log message key from This is achieved by introducing a new Files Changed Analysis
Architecture & Impact Assessment
Log Formatting Flowgraph TD
A[Log Event Triggered] --> B[logrus.Entry Created];
B --> C{Formatter Selected};
C --> D[JSONFormatter / TextFormatter];
subgraph "Format() Method"
F["defaultFieldMap: msg -> message"] --> G["FieldMap.Resolve(key)"];
G --> H["Remap 'msg' key to 'message'"];
end
D --> F;
H --> I[Formatted Log String/JSON];
I --> J[Log Output];
Scope Discovery & Context ExpansionThe changes are localized within the Metadata
Powered by Visor from Probelabs Last updated: 2026-06-10T13:18:48.473Z | Triggered by: pr_updated | Commit: 6c38135 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. ✅ Security Check PassedNo security issues found – changes LGTM. \n\n \n\n✅ Performance Check PassedNo performance issues found – changes LGTM. \n\nQuality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-06-10T13:18:03.277Z | Triggered by: pr_updated | Commit: 6c38135 💡 TIP: You can chat with Visor using |
|
/visor ask Wrong assumption regarding FieldMap; logrus.FieldMap uses fieldKey type as a key, and it makes imposiible getting the value from map; I can't initiate |
|
/visor ask look at my prev question. wtyd? |
…essage-key-across-all-tyk-components
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |
🎯 Recommended Merge TargetsBased on JIRA ticket TT-15935: Feature Request - Standardize Log Message Key Across All Tyk Components Fix Version: Tyk 5.14.0
Required:
📋 Workflow
|
|



Description
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
Ticket Details
TT-15935
Generated at: 2026-05-18 14:13:09