Record code fragment in the System Log backtrace
Components
Labels
Description
Context Information
Additional information (do not use)
Activity
[API] Administrator April 19, 2023 at 11:23 AM
User @Alex committed a fix to 5.2.x. Commit Message:
Fixes https://in-portal.atlassian.net/browse/INP-1837#icft=INP-1837 - Record code fragment in the System Log backtrace
Differential Revision: http://qa.in-portal.org/D442
Alex February 16, 2023 at 11:55 AMEdited
Issues:
attempts to extract code from the trace, that doesn't contain a file reference
code of the source file/line isn't shown (because it's outside of a trace)
Improvements:
add system setting to specify exclusion paths for code logging to save disk space
remove "Code Fragment" information from the "SystemLog.LogBacktrace" column for records, older than 1 month (hardcoded OR another system setting, not connected to full system log record removal)
Priority
Assignee
Reporter
Developer
Reviewer
Change Log Group
Change Log Message
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
Record actual code fragment +/-10 lines around the line mentioned in the backtrace.