Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
873890aa
Commit
873890aa
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
empty handlers in logger initialization
parent
888b9f4d
dev
main
wangxia-main-patch-87026
zhaobowei-main-patch-61353
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/logger.py
+3
-0
csst_common/logger.py
with
3 additions
and
0 deletions
+3
-0
csst_common/logger.py
+
3
-
0
View file @
873890aa
...
...
@@ -42,6 +42,9 @@ def get_logger(name="CSST L1 Pipeline", filename=""):
"""
# initialize logger
logger
=
logging
.
getLogger
(
name
=
name
)
# empty handlers
logger
.
handlers
=
[]
# set level
logger
.
setLevel
(
logging
.
DEBUG
)
# logging formatter
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets