mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Fixes: #2171. Since systemd version 250, journalctl does not print the header line '-- Journal begins... --'. To accommodate those changes, read the status log lines accurately and check that they are not empty. Tests: - Run help functional tests on stable, testing and unstable. - Modify code to not print status logs and notice that the functional test fails. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
35 lines
946 B
HTML
35 lines
946 B
HTML
{% extends 'help_base.html' %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
<h2>{% trans "Status Log" %}</h2>
|
|
|
|
<p>
|
|
{% blocktrans trimmed %}
|
|
These are the last {{ num_lines }} lines of the status log for this web
|
|
interface. If you want to report a bug, please use the <a
|
|
href="https://salsa.debian.org/freedombox-team/freedombox/issues">bug
|
|
tracker</a> and attach this status log to the bug report.
|
|
{% endblocktrans %}
|
|
</p>
|
|
|
|
<p class="alert alert-warning">
|
|
<span class="fa fa-exclamation-triangle" aria-hidden="true"></span>
|
|
<span class="sr-only">{% trans "Caution:" %}</span>
|
|
{% blocktrans trimmed %}
|
|
Please remove any passwords or other personal information from
|
|
the log before submitting the bug report.
|
|
{% endblocktrans %}
|
|
</p>
|
|
|
|
<p>
|
|
<pre class="status-log">{{ data }}</pre>
|
|
</p>
|
|
|
|
{% endblock %}
|