i have never used loggers, so i don't know when to call the log methods such as log.error , log.debug and so on . An other problem is that i don't know what are the most important informations that must be logged for hibernate : i don't know if i have to call log functions only when an exception is caught (when opening a session or a transaction) otherwise what are the events that should be logged
thanks a lot
You call log.error when you want to log an error. You call log.debug when you want to log a message that might help debugging.
To use Hibernate, you don't actually need to know logging, although doing good logging is a good programming practice. But to get going with Hibernate, you don't actually have to write any code that inovkes the logger.
posted 11 years ago
thanks everybody for your help : )
Live ordinary life in an extraordinary way. Details embedded in this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!