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

Logging information #62

Open
croffler opened this issue Jan 10, 2017 · 6 comments
Open

Logging information #62

croffler opened this issue Jan 10, 2017 · 6 comments

Comments

@croffler
Copy link

We have a complex system with many data sets. When there is an error in one of the data sets we get this exception:
com.ninja_squad.dbsetup.DbSetupRuntimeException: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
it is difficult to find the actual problem. As far as I can tell, there is no logging in DbSetup.
Would be nice to have some more information

@jnizet
Copy link
Member

jnizet commented Jan 11, 2017

@croffler Yes, I didn't want to impose a logging framework once again, and wanted to be dependency-free. I agree exceptions can sometimes be cryptic, and I'll maybe try to add some logging mechanism.

In the meantime, can't you find the root cause based on the exception stack trace, or using your debugger?

@croffler
Copy link
Author

croffler commented Jan 11, 2017 via email

@softdays
Copy link

+1, it should be very helpful to trace sql query
look at slf4j that's what it's meant for

@gnostrenoff
Copy link

+1, logging would be welcome :)

@jkttt
Copy link

jkttt commented Dec 14, 2017

+1 for logging

@raderio
Copy link

raderio commented Nov 30, 2018

+1 for logging
have you checked SLF4J?

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

6 participants