Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
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
Container registry
Model registry
Operate
Environments
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
esde
machine-learning
MLAir
Merge requests
!81
Resolve "BUG: wrong logging file path"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "BUG: wrong logging file path"
lukas_issue088_bug_wrong-logging-file-path
into
develop
Overview
0
Commits
1
Pipelines
2
Changes
2
Merged
Ghost User
requested to merge
lukas_issue088_bug_wrong-logging-file-path
into
develop
5 years ago
Overview
0
Commits
1
Pipelines
2
Changes
2
Expand
Closes
#88 (closed)
Edited
5 years ago
by
Ghost User
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
f8790767
1 commit,
5 years ago
2 files
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/helpers.py
+
1
−
2
Options
@@ -252,8 +252,7 @@ class Logger:
:return: path of logfile
"""
if
not
path
:
# set default path
path
=
os
.
path
.
dirname
(
sys
.
modules
[
"
__main__
"
].
__file__
)
path
=
os
.
path
.
join
(
path
,
"
logging
"
)
path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"
..
"
,
"
logging
"
)
if
not
os
.
path
.
exists
(
path
):
os
.
makedirs
(
path
)
runtime
=
time
.
strftime
(
"
%Y-%m-%d_%H-%M-%S
"
,
time
.
localtime
())
Loading