Skip to content

Commit

Permalink
perf: log format
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Oct 6, 2023
1 parent e842dec commit 2cb3243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion free_one_api/impls/forward/mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async def query(
id_suffix += chan.adapter.__class__.__name__[:10]
id_suffix += "".join(random.choices(string.ascii_letters+string.digits, k=29-len(id_suffix)))

query_info_str = f"query: path={path}, model={req.model}, id_suffix={id_suffix}, channel_name={chan.name}, channel_adpater={chan.adapter.__class__.__name__}"
query_info_str = f"type=query, path={path}, model={req.model}, id_suffix={id_suffix}, channel_name={chan.name}, channel_adpater={chan.adapter.__class__.__name__}"

logging.info(query_info_str)

Expand Down

0 comments on commit 2cb3243

Please sign in to comment.