middha commited on
Commit
4fe6ffa
·
verified ·
1 Parent(s): 37ffdc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ logging.basicConfig(
39
  openai.api_key = os.getenv("OPENAI_API_KEY")
40
 
41
  # Configure logging with rotating file handler
42
- handler = RotatingFileHandler('/tmp/app.log', maxBytes=10000000, backupCount=5)
43
  handler.setFormatter(logging.Formatter(
44
  '[%(asctime)s] %(levelname)s in %(module)s: %(message)s'
45
  ))
 
39
  openai.api_key = os.getenv("OPENAI_API_KEY")
40
 
41
  # Configure logging with rotating file handler
42
+ handler = RotatingFileHandler('/tmp/logs/app.log', maxBytes=10000000, backupCount=5)
43
  handler.setFormatter(logging.Formatter(
44
  '[%(asctime)s] %(levelname)s in %(module)s: %(message)s'
45
  ))