Skip to content

Start logfile view with wrapping disabled #5238

@cdprete

Description

@cdprete

Hello.

I start by saying that this request is a pure personal preference thing.
Therefore, I can understand if you decide to reject it.

When I use the logfile instance view, I have always to deselect the text wrapping when I open it because:

  • I personally manage to read log messages better if they're not wrapped
  • I can get more log lines rendered

Therefore I would like to ask if the initial status of such a checkbox can be changed in the view so that it starts as disabled.

To my understanding, it's enough to flip the value in https://github.com/codecentric/spring-boot-admin/blob/master/spring-boot-admin-server-ui/src/main/frontend/views/instances/logfile/index.vue#L133C5-L133C14.
Moreover, I see no tests in that folder, so probably it's really the only change that would be needed in order to achieve this (unless I'm missing something).

If the team accepts this request, I can easily open a PR with that initial value changed as described before.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions