Skip to content

Feature request: highlight word/line - additional option/plugin: replace with... #93

Open

Description

@sebastiansto

Hi there,

I would like to have an additional option on highlighted word/lines:
To replace it with a given word (or something like \n).

Why?
In my case, we replace line breaks with a placeholder to avoid long big stacktraces all over our logs and to avoid parsing issues.
But this is hardly readable in a single line in LogExpert. So I would like to replace the placeholder back to line breaks.

Another use case would be to remove unwanted artifacts out of the logs.

Best regards,
Sebastian

Activity

  1. zarunbal commented on Mar 4, 2019

    @zarunbal
    Collaborator

    thank you for the feature. The part with splitting in new lines could be tricky to implement

    The part with the replacement of "characters", is related to #79

  2. achimmihca commented on Sep 15, 2022

    @achimmihca

    I think this would be a preprocessing of logs.
    Maybe one could add preprocessing rules, which also includes a rule to replace text (plain text or regex).

    However, I am unsure if this is needed. And I fear it makes the whole text processing more complex because one could add new lines this way, which again must be viewed, suddenly the lines in LogExpert do not match the lines in the file, etc. etc.
    Overall, I argue against implementing this.

    Either create your log in a better viewable format, or do preprocessing before opening it in LogExpert

  3. added this to the Release 1.80.0 milestone on Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Featurewhat a great idea

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions