Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When logging only the slow queries make it possible to also log the class name and line number #43

Open
peteclewlow opened this issue Jun 19, 2019 · 0 comments

Comments

@peteclewlow
Copy link

@peteclewlow peteclewlow commented Jun 19, 2019

When only slow queries must be logged rather than all queries the following setting is used in logback.xml : <logger name="jdbc.sqltiming" level="WARN"/> . However when slow queries are then logged the class name and line number of the slow query are not logged. Class name and line number are very handy information to locate the code causing the slow query. Please make it possible to also log the class name and line number in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.