rairo commited on
Commit
66b5d69
·
verified ·
1 Parent(s): d691d98

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -617,6 +617,8 @@ def view_videos():
617
  #download archives endpoint
618
 
619
  # Configure lo)s")
 
 
620
 
621
  @app.route('/api/download/story_archive/<story_id>', methods=['GET'])
622
  def download_story_archive(story_id):
 
617
  #download archives endpoint
618
 
619
  # Configure lo)s")
620
+ LOG_FILE_PATH = "/tmp/story_download.log"
621
+ logging.basicConfig(filename=LOG_FILE_PATH, level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s")
622
 
623
  @app.route('/api/download/story_archive/<story_id>', methods=['GET'])
624
  def download_story_archive(story_id):