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

[Improvement] Adding correlation logs for JDBC and LDAP calls #1863

Open
dushansilva opened this issue Oct 10, 2018 · 1 comment
Open

[Improvement] Adding correlation logs for JDBC and LDAP calls #1863

dushansilva opened this issue Oct 10, 2018 · 1 comment
Labels

Comments

@dushansilva
Copy link

dushansilva commented Oct 10, 2018

Purpose and Goals

To improve the observability of wso2 products this adds logs to be printed when JDBC and LDAP calls are made.

Details

This can be enabled by adding enableCorrelationLogs=true in system properties. By default this value is set to false.

Logs are printed in the following format in correlation.log

JDBC
timestamp | correlationID | threadID | duration | callType | startTime | methodName | query | connectionUrl

LDAP
timestamp | correlationID | threadID | duration | callType | startTime | methodName | providerUrl | principal | argsLengeth | args

@dushansilva
Copy link
Author

PR related to this can be found here #1862

@jsdjayanga jsdjayanga added the C4 label Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants