From 8626d78b5c1fbc0de3b34a483b295bcb7546bcbb Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Sat, 3 Feb 2018 13:19:50 +0200 Subject: [PATCH] api: ocsp: Fix logger --- certidude/api/ocsp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/certidude/api/ocsp.py b/certidude/api/ocsp.py index 246c483..8124a09 100644 --- a/certidude/api/ocsp.py +++ b/certidude/api/ocsp.py @@ -1,6 +1,7 @@ import click import falcon import hashlib +import logging import os from asn1crypto.util import timezone from asn1crypto import cms, algos, x509, ocsp @@ -13,6 +14,8 @@ from oscrypto import keys, asymmetric, symmetric from oscrypto.errors import SignatureError from .utils import AuthorityHandler +logger = logging.getLogger(__name__) + class OCSPResource(AuthorityHandler): @whitelist_subnets(config.OCSP_SUBNETS) def __call__(self, req, resp):