Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9397

Change config sync logging to only log config changes by default

XMLWordPrintable

    • S24-W34/35, S24-W38/39, S24-W40/41
    • 1

      Now that Zabbix component config syncs are incremental and happen very frequently (running every couple of seconds instead of old default of a few or many minutes), I suggest changing the logging so that instead of the current "log all config sync connections in loglevel3" the config syncs will be logged as follows:

      • if the config sync results in no change of the configuration, log it with loglevel 4+ only
      • if the config sync results in any change of configuration, log it with the same loglevel as currently

      This would make the log files more fluent to read and comprehend. Increasing the loglevel would then give the extra information whenever needed.

      And, the components will log the loss of connectivity anyway so the old-style "keep logging every connection" is not needed anyway.

        1. debug.diff
          3 kB
        2. flags.py
          0.7 kB
        3. image-2024-10-04-10-58-48-111.png
          image-2024-10-04-10-58-48-111.png
          24 kB
        4. image-2024-10-04-11-06-07-820.png
          image-2024-10-04-11-06-07-820.png
          16 kB
        5. screenshot-1.png
          screenshot-1.png
          18 kB

            mprihodko Mihails Prihodko
            markkul Markku Leiniƶ
            Team B
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 60h
                60h