Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
funasr_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6ca1e59e
authored
Jan 15, 2025
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日志路径修改成通用
1 parent
38862d9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
log/logger.py
log/logger.py
View file @
6ca1e59
...
@@ -32,4 +32,5 @@ def setup_logging(log_file):
...
@@ -32,4 +32,5 @@ def setup_logging(log_file):
return
logger
return
logger
log
=
setup_logging
(
'
%
s/funasr_temp.log'
%
"/app/soft/python_project/audio_dev/logs"
)
\ No newline at end of file
\ No newline at end of file
base_dir
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
+
"/logs"
log
=
setup_logging
(
'
%
s/funasr_temp.log'
%
base_dir
)
Write
Preview
Markdown
is supported
Attach a file
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 post a comment