Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
e08e0500
Commit
e08e0500
authored
Nov 08, 2022
by
BO ZHANG
🏀
Browse files
try to solve logger problem
parent
8f4299d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
e08e0500
...
...
@@ -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 """
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment