Skip to content

Commit

Permalink
Restore self.log logger in BaseHandler (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoRoth authored Feb 17, 2025
1 parent b4c5b77 commit 9457e39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tljh_repo2docker/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from jupyterhub.utils import url_path_join
from sqlalchemy.ext.asyncio import AsyncSession
from tornado import web
from tornado.log import app_log

from tljh_repo2docker import TLJH_R2D_ADMIN_SCOPE
from tljh_repo2docker.database.manager import ImagesDatabaseManager
Expand Down Expand Up @@ -47,6 +48,10 @@ class BaseHandler(HubOAuthenticated, web.RequestHandler):

_client = None

@property
def log(self):
return self.settings.get('log', app_log)

@property
def client(self):
"""
Expand Down

0 comments on commit 9457e39

Please sign in to comment.