Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-228

Include Source Code File Name and Line number in log messages

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • Core
    • None

    Description

      Print Source Code filename and line number at which a debug, error, info or warning message is being logged - in addition to actual message

      _FILE, __LINE_ available in gcc can be used.

      Devise and implement fix for this.

      Having source code file name and line number allows any one in support by looking at error log - where exactly the log message printed from - which is very helpful when same error message is printed from more than one place in source code.
      Also helps to narrow down code section when difficult to diagnose crashes occur in the field.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            markus makela markus makela
            dshjoshi Dipti Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.