Skip to content

Commit

Permalink
Switch from log.getName() to log.name
Browse files Browse the repository at this point in the history
The former is now deprecated.
  • Loading branch information
laurenam committed Aug 8, 2021
1 parent a86695c commit 5727808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/extensions/piff/piffPsfDeterminer.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def determinePsf(
wcs = {0: galsim.PixelScale(1.0)}
pointing = None

logger = logging.getLogger(self.log.getName()+".Piff")
logger = logging.getLogger(self.log.name + ".Piff")
logger.addHandler(lsst.log.LogHandler())

piffResult.fit(stars, wcs, pointing, logger=logger)
Expand Down

0 comments on commit 5727808

Please sign in to comment.