def METHOD_NAME(request, providerid, logid):
    if not request.user.is_superuser:
        raise PermissionDenied("Access denied")
    provider = get_object_or_404(DigisignProvider, pk=providerid)
    log = get_object_or_404(DigisignLog, provider=provider, pk=logid)
    return render(request, 'digisign/digisign_backend_log_details.html', {
        'log': log,
        'breadcrumbs': [
            ('/admin/digisign/providers/', 'Digital signature providers'),
            ('/admin/digisign/providers/{}/'.format(provider.id), provider.name),
            ('/admin/digisign/providers/{}/log/'.format(provider.id), "Log"),
        ]
    })