Hi.


I wanna use log4j for logging in my application but i need to write all logs to a database. The objective is to analyse the performance of my actions (thats another story). I search a lot but all i find is how to write to a file or to the stdout.

I'm using hibernate, spring and struts2. My application connects to the dabase from a pool configured on the server applications.

Any idea how to do this? Is possible to implent?