Configure the error log from cmake & determine the default value

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • None
    • Storage Engines
    • None
    • None

      The error log is currently enabled only in the diagnostic mode. Ideally, we should configure whether the error log is enabled from cmake.

      We should also determine what the defaults should be:

      • The error log should be arguably always enabled in the diagnostic mode. Perhaps we can simply keep the current lines in error.h that enable it if HAVE_DIAGNOSTICS is enabled.
      • Whether the error log is enabled in the release mode should be configurable from cmake, and it could be even enabled by default if the performance impact is negligible.

        1. screenshot-5.png
          screenshot-5.png
          31 kB
        2. screenshot-4.png
          screenshot-4.png
          144 kB
        3. screenshot-3.png
          screenshot-3.png
          150 kB
        4. screenshot-2.png
          screenshot-2.png
          148 kB
        5. screenshot-1.png
          screenshot-1.png
          142 kB
        6. perf-study-09-16.png
          perf-study-09-16.png
          45 kB

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: