use logging.getLogger(__name__)

This commit is contained in:
j 2015-11-29 15:56:38 +01:00
commit d497e89b2b
36 changed files with 47 additions and 39 deletions

View file

@ -13,7 +13,7 @@ import settings
import state
from utils import get_service_id, get_local_ipv4
logger = logging.getLogger('oml.tor_request')
logger = logging.getLogger(__name__)
class InvalidCertificateException(http.client.HTTPException, urllib.error.URLError):
def __init__(self, service_id, cert, reason):