from radosgw_agent import worker
from radosgw_agent import client
+from radosgw_agent.util import get_dev_logger
from radosgw_agent.exceptions import NotFound, HttpError
log = logging.getLogger(__name__)
+dev_log = get_dev_logger(__name__)
# the replica log api only supports one entry, and updating it
# requires sending a daemon id that matches the existing one. This
marker = bound['marker']
retries = bound['retries']
- log.debug('oldest marker and time for shard %d are: %r %r',
- shard_num, marker, bound['oldest_time'])
- log.debug('%d items to retrie are: %r', len(retries), retries)
+ dev_log.debug('oldest marker and time for shard %d are: %r %r',
+ shard_num, marker, bound['oldest_time'])
+ dev_log.debug('%d items to retry are: %r', len(retries), retries)
return marker, retries