{% extends BASE_TEMPLATE %} {#{% load crispy_forms_tags %}#} {% block title %} Add log entry {{ TITLE_SEPARATOR }} {{ block.super }} {% endblock title %} {% block content %}

Add a log entry by hand

You can use this form to add log entries. You can also use an external tool to add an entry through a POST request; this is handled by the same view.

{% if request.user.is_staff %} {% else %} {% endif %}
{# {% csrf_token %}#}

To use an external program, you should:

For example:

curl --silent --show-error --request POST 'https://markv.nl/log/add' --data-urlencode "message=test" --data-urlencode "status=info" --data-urlencode 'key=FbisY3s8apIqYUj9iVJF9W1kN8npUSWx'

Do you want to view log entries?

{% endblock content %}