Record code fragment in the System Log backtrace

Components

Labels

Description

Record actual code fragment +/-10 lines around the line mentioned in the backtrace.

Context Information

None

Additional information (do not use)

None

Confluence content

mentioned on

Phabricator

Activity

Show:

[API] Administrator April 19, 2023 at 11:23 AM

User 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 AM
Edited

Issues:

  1. attempts to extract code from the trace, that doesn't contain a file reference

  2. code of the source file/line isn't shown (because it's outside of a trace)

Improvements:

  1. add system setting to specify exclusion paths for code logging to save disk space

  2. 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)

Fixed

Priority

Assignee

Alex

Reporter

Developer

Reviewer

Change Log Group

Added

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

7h 20m logged

Story Points

Fix versions

Created February 10, 2023 at 12:12 PM
Updated December 29, 2024 at 8:48 PM
Resolved April 19, 2023 at 11:23 AM

Flag notifications