Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from models import RedditData
import spotipy
import prawcore
import logging

from xml.sax import saxutils as su

Expand Down Expand Up @@ -102,4 +103,5 @@ def page_not_found(e):
# return render_template('about.html')

if __name__ == '__main__':
logging.basicConfig(filename='./log/flask_output.log', level=logging.DEBUG)
app.run(debug=True, use_reloader=True, host='0.0.0.0', port=8300)
8 changes: 8 additions & 0 deletions log/flask_output.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INFO:werkzeug: * Restarting with stat
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 226-487-391
INFO:werkzeug: * Running on http://0.0.0.0:8300/ (Press CTRL+C to quit)
INFO:werkzeug: * Restarting with stat
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 226-487-391
INFO:werkzeug: * Running on http://0.0.0.0:8300/ (Press CTRL+C to quit)