Commit e08e0500 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

try to solve logger problem

parent 8f4299d5
......@@ -202,8 +202,9 @@ class CsstMsDataManager:
os.chdir(self.dir_l1)
# pipeline logger
self.logger_ppl = get_logger(name="CSST L1 Pipeline", filename=self.l1_file(log_ppl))
self.logger_mod = get_logger(name="CSST L1 Pipeline Module", filename=self.l1_file(log_mod))
self.logger_ppl = get_logger(name="CSST L1 Pipeline Logger", filename=os.path.join(dir_l1, log_ppl))
# module logger
self.logger_mod = get_logger(name="CSST L1 Module Logger", filename=os.path.join(dir_l1, log_mod))
def set_env(self):
""" set environment variables """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment