Coverage for python/lsst/ctrl/pool/log.py : 44%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Pickle a log
Assumes that we're always just using the lsst.log default. """ return lsstLog.Log, tuple()
"""Add a job-specific log destination""" if job is None or job == "None": return packageDir = getPackageDir("ctrl_pool") # Set the environment variable which names the output file os.environ['JOBNAME'] = job lsstLog.configure(os.path.join(packageDir, "config/log4cxx.properties")) lsstLog.MDC("PID", os.getpid()) |