lamhieu commited on
Commit
4252268
·
1 Parent(s): 65c747d

chore: update access log filter conditions

Browse files
Files changed (1) hide show
  1. lightweight_embeddings/__init__.py +2 -2
lightweight_embeddings/__init__.py CHANGED
@@ -28,8 +28,8 @@ class LogFilter(logging.Filter):
28
  def filter(self, record):
29
  if record.args and len(record.args) >= 3:
30
  if "/v1" in str(record.args[2]):
31
- return False
32
- return True
33
 
34
 
35
  logger = logging.getLogger("uvicorn.access")
 
28
  def filter(self, record):
29
  if record.args and len(record.args) >= 3:
30
  if "/v1" in str(record.args[2]):
31
+ return True
32
+ return False
33
 
34
 
35
  logger = logging.getLogger("uvicorn.access")