Skip to content

Commit

Permalink
Change logger name to retain the lsst. prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Nov 10, 2021
1 parent 6234e4f commit e7e6181
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/cli/script/qgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

from lsst.pipe.base.graphBuilder import DatasetQueryConstraintVariant

_log = logging.getLogger(__name__.partition(".")[2])
_log = logging.getLogger(__name__)


def qgraph(pipelineObj, qgraph, qgraph_id, qgraph_node_id, skip_existing_in, skip_existing, save_qgraph,
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/cli/script/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from ... import CmdLineFwk, TaskFactory

_log = logging.getLogger(__name__.partition(".")[2])
_log = logging.getLogger(__name__)


def run(do_raise,
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/cmdLineFwk.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# Local non-exported definitions --
# ----------------------------------

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class _OutputChainedCollectionInfo:
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/examples/calexpToCoaddTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from lsst.pipe.base import connectionTypes as cT
import lsstDebug

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class CalexpToCoaddTaskConnections(PipelineTaskConnections,
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/examples/patchSkyMapTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
PipelineTaskConnections)
from lsst.pipe.base import connectionTypes as cT

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class PatchSkyMapTaskConnections(PipelineTaskConnections,
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/examples/rawToCalexpTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PipelineTaskConnections)
from lsst.pipe.base import connectionTypes as cT

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class RawToCalexpTaskConnections(PipelineTaskConnections,
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/examples/test1task.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
PipelineTaskConnections)
from lsst.pipe.base import connectionTypes as cT

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class Test1Connections(PipelineTaskConnections,
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/examples/test2task.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
PipelineTaskConnections)
from lsst.pipe.base import connectionTypes as cT

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class Test2Connections(PipelineTaskConnections,
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/mpGraphExecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from lsst.base import disableImplicitThreading
from lsst.daf.butler.cli.cliLog import CliLog

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


# Possible states for the executing task:
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/preExecInit.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from lsst.base import Packages
from lsst.pipe.base import PipelineDatasetTypes

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class PreExecInit:
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/singleQuantumExecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
# Local non-exported definitions --
# ----------------------------------

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class _LogCaptureFlag:
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/taskFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from lsst.pipe.base import TaskFactory as BaseTaskFactory
from lsst.daf.butler import DatasetType

_LOG = logging.getLogger(__name__.partition(".")[2])
_LOG = logging.getLogger(__name__)


class TaskFactory(BaseTaskFactory):
Expand Down

0 comments on commit e7e6181

Please sign in to comment.