{% extends "base.html" %} {% block title %}Pluto - Logs{% endblock %} {% block content %}

Here are the last {{ n }} requests observed to /hook:

{% for log in logs %} {% else %} {% endfor %}
Time Path Headers Data Hooks
{{ log.time | ctime }} {{ log.path }} {{ log.headers | hloads | pprint(True) }} {{ log.data | jloads | pprint(True) }} {% if log.hooks %} {% for hookid in log.hooks.split(',') %} {% set num = hookid|int %} {% set hook = g.Hook.get_one(rowid = num) %} {{ macros.hook(hook) }} {% endfor %} {% else %} No hooks. {% endif %}
No data.
{% endblock %}