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

datasource-proxy-sample is not writing query logs #81

Open
gtiwari333 opened this issue Mar 12, 2023 · 1 comment
Open

datasource-proxy-sample is not writing query logs #81

gtiwari333 opened this issue Mar 12, 2023 · 1 comment

Comments

@gtiwari333
Copy link

NOT A BUG!

When I run endpoints from SampleController or when I run tests, the datasource-proxy-sample module is not producing any logs into console. My first thought was there's something broken with the library. But later I found its due to the default log levels on the config.

I needed to change the log level with one of the following:

logging:
  level:
    net.ttddyy.dsproxy.listener.logging: DEBUG

OR

decorator:
  datasource:
    datasource-proxy:
      query:
        log-level: INFO

Please document this somewhere on the README file so that people won't run into any confusion. Let me you if you accept PRs.

@gavlyukovskiy
Copy link
Owner

@gtiwari333 feel free to submit PR. I think it's worth documenting that spring boot logging level needs to be changed

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

No branches or pull requests

2 participants