Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pypelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HaissLab
Data Management
Pypelines
Commits
e9a23495
Commit
e9a23495
authored
1 year ago
by
Timothe Jost
Browse files
Options
Downloads
Patches
Plain Diff
fix : add file_level and terminal_level in enable_logging
parent
5b9acb8a
No related branches found
No related tags found
No related merge requests found
Pipeline
#130629
passed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pypelines/__init__.py
+1
-1
1 addition, 1 deletion
src/pypelines/__init__.py
src/pypelines/loggs.py
+2
-2
2 additions, 2 deletions
src/pypelines/loggs.py
with
3 additions
and
3 deletions
src/pypelines/__init__.py
+
1
−
1
View file @
e9a23495
__version__
=
"
0.0.5
7
"
__version__
=
"
0.0.5
8
"
from
.
import
loggs
from
.pipes
import
*
...
...
This diff is collapsed.
Click to expand it.
src/pypelines/loggs.py
+
2
−
2
View file @
e9a23495
...
...
@@ -87,9 +87,9 @@ def enable_logging(
min
(
terminal_level
,
file_level
)
)
# set logger level to the lowest usefull, to be sure we can capture messages necessary in handlers
for
handler
in
[
fh
,
ch
]
:
for
handler
,
level
in
zip
([
fh
,
ch
],
[
file_level
,
terminal_level
])
:
handler
.
setLevel
(
file_
level
)
handler
.
setLevel
(
level
)
logger
.
addHandler
(
handler
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment