@property
def access_logger(self):

    class FakeLogger():

        def info(self, *args, **kwargs):
            pass
    return FakeLogger()
@property
def access_logger(self):

    class FakeLogger():

        def info(self, *args, **kwargs):
            pass
    return FakeLogger()