Skip to content

Conversation

kamil-holubicki
Copy link

Problem:
sqlutils emits error logs directly through log.Errore() calls. These logs contain only basic information like query, but are missing the caller context (who in which contexts executes the particular query)

Solution:
Allow registering client side logger which will be used instead of internal logging. Client-side logger can add context information to logs and format logs in the desired way.

Problem:
sqlutils emits error logs directly through log.Errore() calls.
These logs contain only basic information like query, but are missing
the caller context (who in which contexts executes the particular query)

Solution:
Allow registering client side logger which will be used instead of
internal logging. Client-side logger can add context information to
logs and format logs in the desired way.
@shlomi-noach
Copy link

Thank you! I'm in a bit of a sabbatical from maintaining my personal OSS projects, so with regrets I won't be reviewing/merging this, even though the change is likely good and trivial, and I do appreciate your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants