{% extends "base.html" %} {% load static %} {% block title %}Integration Log - {{ log.system.name }}{% endblock %} {% block content %}

Integration Log Detail

{{ log.system.name }}
{{ log.timestamp|date:"F j, Y H:i:s" }}
Level

{{ log.level }}

Status

{{ log.status|title }}

Message
{{ log.message|linebreaks }}
{% if log.request_data %}
Request Data
{{ log.request_data|pprint }}
{% endif %} {% if log.response_data %}
Response Data
{{ log.response_data|pprint }}
{% endif %} {% if log.error_details %}
Error Details
{{ log.error_details }}
{% endif %} {% if log.additional_data %}
Additional Data
{{ log.additional_data|pprint }}
{% endif %}
Timestamp

{{ log.timestamp|date:"F j, Y H:i:s" }}

{{ log.timestamp|timesince }} ago
Duration

{% if log.duration %} {{ log.duration }} ms {% else %} Not available {% endif %}

{% if related_logs %}
Related Logs
{% for related_log in related_logs %} {% endfor %}
Timestamp Level Status Message Actions
{{ related_log.timestamp|date:"M d, Y H:i:s" }} {{ related_log.level }} {{ related_log.status|title }} {{ related_log.message|truncatechars:50 }}
{% endif %}
Quick Actions
Back to Logs Export Log {% if log.status == 'error' %} Retry Operation {% endif %}
System Information
{{ log.system.name|first|upper }}
{{ log.system.name }}
{{ log.system.get_system_type_display }}
API URL {{ log.system.api_url|default:"Not available" }}
Status {% if log.system.is_active %}Active{% else %}Inactive{% endif %}
Health {{ log.system.health_status|default:"Unknown"|title }}
Last Sync {{ log.system.last_sync|default:"Never"|date:"M d, Y H:i:s" }}
Log Metadata
Log ID {{ log.pk }}
User {{ log.user|default:"System" }}
API Version {{ log.api_version|default:"Not specified" }}
Direction {% if log.direction == 'inbound' %} Inbound {% elif log.direction == 'outbound' %} Outbound {% else %} Internal {% endif %}
IP Address {{ log.ip_address|default:"Not available" }}
HTTP Status {% if log.http_status %} {{ log.http_status }} {% else %} N/A {% endif %}
Tenant {{ log.tenant|default:"System-wide" }}
{% endblock %} {% block js %} {% endblock %}