arabellastrange commited on
Commit
de33d74
·
1 Parent(s): 202d982

updated logging location

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def google_search_chat(message, history):
87
 
88
  if __name__ == '__main__':
89
  logging.root.setLevel(logging.INFO)
90
- filehandler = logging.FileHandler(f'logs/agent_log_{asctime().replace(" ", "").lower().replace(":", "")}.log',
91
  'a')
92
  formatter = logging.Formatter('%(asctime)-15s::%(levelname)s::%(filename)s::%(funcName)s::%(lineno)d::%(message)s')
93
  filehandler.setFormatter(formatter)
 
87
 
88
  if __name__ == '__main__':
89
  logging.root.setLevel(logging.INFO)
90
+ filehandler = logging.FileHandler(f'agent_log_{asctime().replace(" ", "").lower().replace(":", "")}.log',
91
  'a')
92
  formatter = logging.Formatter('%(asctime)-15s::%(levelname)s::%(filename)s::%(funcName)s::%(lineno)d::%(message)s')
93
  filehandler.setFormatter(formatter)