You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently the built-in loggers do not log the current thread ID. This makes it difficult to differentiate between logs from different threads.
will there be a way to differentiate between the different threads chat completions? Id need to be able to query the sqlite db for all chat completions of a single thread
by @Nathan-Intergral
Describe the solution you'd like
In SQLiteLogger and FileLogger (#2596), add thread ID to each logged event. Obtain thread ID through:
importthreadingcurrent_thread_id=threading.get_native_id()
print(f"Current thread ID (native): {current_thread_id}")
Is your feature request related to a problem? Please describe.
Currently the built-in loggers do not log the current thread ID. This makes it difficult to differentiate between logs from different threads.
Describe the solution you'd like
In SQLiteLogger and FileLogger (#2596), add thread ID to each logged event. Obtain thread ID through:
Additional context
#2617
The text was updated successfully, but these errors were encountered: