Logging information
croffler opened this issue · comments
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
@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?
+1, it should be very helpful to trace sql query
look at slf4j that's what it's meant for
+1, logging would be welcome :)
+1 for logging
+1 for logging
have you checked SLF4J?