Skip to content

Add syntax highlighting in System Logs #8103

Description

@andre8244

Description

The System Logs viewer in the NethServer 8 admin UI currently displays log lines as plain, undifferentiated text. When scrolling through a large volume of output during troubleshooting, it's easy to miss a critical error line buried among routine info messages.

Add syntax coloring to the log viewer based on log level/severity:

  • Error messages (error, err, crit, fatal, etc.) highlighted in red
  • Warning messages highlighted in yellow/orange
  • Info messages left in the default/neutral color, so they don't add visual noise

This benefits administrators and support engineers who rely on the built-in log viewer for quick diagnostics, letting them spot problems at a glance instead of reading every line.

Alternative solutions

  • Relying on external log aggregation (e.g. Grafana/Loki) for visual triage — already possible for advanced setups, but doesn't help the built-in admin UI log viewer that most users check first.

References

Community discussion: https://community.nethserver.org/t/feature-proposal-logs-highlighting-in-ns8-ui/28010

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingPackages are available from testing repositories

    Fields

    No fields configured for Feature.

    Projects

    Status
    Testing

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions