Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
류은제
bai-monitoring-api
Commits
3caa7a16
Commit
3caa7a16
authored
Feb 28, 2023
by
류은제
Browse files
Update app.py
parent
904ce9d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
app.py
View file @
3caa7a16
...
@@ -11,7 +11,7 @@ from config import configurations
...
@@ -11,7 +11,7 @@ from config import configurations
# for API
# for API
from
flask
import
Flask
,
request
,
jsonify
from
flask
import
Flask
,
request
,
jsonify
import
logging
#
import logging
# == Configurations
# == Configurations
...
@@ -201,7 +201,7 @@ def extract_utilization():
...
@@ -201,7 +201,7 @@ def extract_utilization():
# == API Logger ==
# == API Logger ==
logging
.
basicConfig
(
filename
=
"../logs/monitoringAPI.log"
,
level
=
logging
.
DEBUG
)
#
logging.basicConfig(filename = "../logs/monitoringAPI.log", level = logging.DEBUG)
# == restAPI ==
# == restAPI ==
...
...
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