-
1. Re: Loggin into database
philippeaubertin Nov 10, 2010 10:06 AM (in response to philippeaubertin)I tried differents things but I can't make it work...
I still need help...
Best regards.
-
2. Re: Loggin into database
lvdberg Nov 10, 2010 11:55 AM (in response to philippeaubertin)Hi,
I've seen examples with the jdbcplus driver from apache. With this example in mind, I think you're putting the SQL at the wrong param-element. Try using a name attribute
sql
instead. Furthermore URL shouldn't be written with capitals.I am not using this way of logging. I've created a specific log class and send every log to an log-processor which is called with an async-event. after persisting it logs with the default logger (depending on the log-level). This doesn't work for system specific logs (such as Hibernate) but gives me better control over the persistency proces. In this way I give preference to database access for the application and store the logs with a lower priority.
Leo