https://bugs.kde.org/show_bug.cgi?id=485232

            Bug ID: 485232
           Summary: Making it possible to combine repetitive errors (just
                    a counter)
    Classification: Applications
           Product: KSystemLog
           Version: 22.12.3
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: nicolas.ternis...@gmail.com
          Reporter: myndstr...@protonmail.ch
  Target Milestone: ---

SUMMARY
Often logs are very hard to read or analyze and large in size because of many
repetitive errors. It would be extremely useful to have a GUI tool that
combines repetitive messages with just a counter.

For example, here https://unix.stackexchange.com/q/773986/233262 I had many
"kded5: HistoryFile::add.write […]" errors cluttering the journalctl logs and
this happens very often for many different log entries.

It also allows showing which error messages repeat very often which are often
linked to current problems or are of a particular severity.

It wouldn't only combine repetitive log entries that are output directly in a
row but also the same error messages within the specified time. One could for
example toggle a button like "Combine repetitive messages" and show them at the
top of the logviewer with a counter next to them sorted by number of
occurrences where all messages that are shown in the current view are
"compressed" like that. Another way could be to then show an option to set
start and endtime for where logs should be combined and/or a button next to
log-entries like "combine all messages identical to this".

STEPS TO REPRODUCE
1. On Debian12/KDE try to debug a problem by using journalctl that has lots of
repetitive messages, sometimes thousands of the same messages in a row or
within a relatively short timespan

OBSERVED RESULT
Each repetitive message is shown individually making the log very long which is
only useful for seeing the timestamp or when investigating a timespan shorter
than what is currently viewed where these log entries could be missing if they
were shown at the top

EXPECTED RESULT
A way to combine repetitive identical messages. Maybe in the future it could
also be possible to combine nearly identical messages and to complement this by
temporarily hiding errors from various sources/types.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

This is a very useful underrated tool which has a lot of potential but needs
some more work to become so useful to be really used a lot.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to