Can't customize expirer.py in swift

asked 2020-05-25 22:18:48 -0600

updated 2020-05-25 23:15:36 -0600

I want to debug object-expirer in source code swift openstack, but when I add a new line into source, it doesn't run.

For example:

def __init__(self, conf, logger=None, swift=None):
    self.logger.debug('....')

And I found that I can't see log from logger in ObjectExpirer

self.logger = logger or get_logger(conf, log_route='object-expirer')

My website: https://bit.ly/3ekvf3y

edit retag flag offensive close merge delete