|
@@ -8,15 +8,15 @@ import typing
|
|
|
|
|
|
|
|
import pydantic
|
|
import pydantic
|
|
|
|
|
|
|
|
-import cipy._logging
|
|
|
|
|
-
|
|
|
|
|
from cipy.action import Call, Composite, NodeScript, Script
|
|
from cipy.action import Call, Composite, NodeScript, Script
|
|
|
from cipy.common import Context, Factory, Inputs, Outputs, Ref, Status
|
|
from cipy.common import Context, Factory, Inputs, Outputs, Ref, Status
|
|
|
from cipy.shell import Shell
|
|
from cipy.shell import Shell
|
|
|
from cipy.workflow import Job, Matrix, MatrixParams, Workflow
|
|
from cipy.workflow import Job, Matrix, MatrixParams, Workflow
|
|
|
|
|
|
|
|
|
|
+from ._logging import CIFormatter
|
|
|
|
|
+
|
|
|
_handler = logging.StreamHandler()
|
|
_handler = logging.StreamHandler()
|
|
|
-_handler.setFormatter(cipy._logging.CIFormatter("%(asctime)s [%(name)s] %(message)s"))
|
|
|
|
|
|
|
+_handler.setFormatter(CIFormatter("%(asctime)s [%(name)s] %(message)s"))
|
|
|
|
|
|
|
|
logging.basicConfig(datefmt="%Y-%m-%dT%H:%M:%S.%fZ",
|
|
logging.basicConfig(datefmt="%Y-%m-%dT%H:%M:%S.%fZ",
|
|
|
handlers=[ _handler ],
|
|
handlers=[ _handler ],
|