Opened 5 years ago

Closed 23 months ago

#3758 closed enhancement (fixed)

Log category of nodes in XML log

Reported by: toivo Owned by: efredriksson
Priority: major Milestone: Pending
Component: FMI/Export Version: trunk
Keywords: Cc:


The category of a given log node is currently used for log filtering, but then thrown away. Suggestion: add a category attribute to log nodes to encode this information in the log itself.

Change History (5)

comment:1 Changed 5 years ago by toivo

Log the category of XML log nodes using a category attribute in r6482:

  • The category can be info, warning, or error
  • Default value is the category of the parent - only encode category if they differ
  • Encode the top level node JMILog with category info
    • Also update extract_jmi_log for this

Log parsing doesn't seem to mind the added attribute; should still add support for parsing it out.

comment:2 Changed 5 years ago by toivo

Milestone: 1.15.x1.16.x

Log parsing of the category will have to wait until after 1.15.

comment:3 Changed 4 years ago by toivo

Milestone: 1.16.xPending

comment:4 Changed 4 years ago by toivo

Owner: changed from toivo to efredriksson
Status: newassigned

comment:5 Changed 23 months ago by Jesper Mattsson

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.