Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ctrl_pool
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:DRP S17-1
-
Team:Data Release Production
Description
Remove pex_logging dependency in ctrl_pool.
Perry Gee, there is an "API" already and it's rather simple to use (but it's not a Python API)
# define location of config file
# define substitutions for variables in config file
# run your application
The reason why we prefer to do it this way is that (as you said yourself) application code should not need to know how logging is handled - where logging output goes to and how it is formatted. Another reason is that by the time your application decides to change logging configuration other parts of application may be already logging something to default-configured logger.