[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] eclipselink logging
|
Hi Yannick,
yes, you are free to provide your own implementation of EclipseLink's SessionLog class.
A very simple example is shown here: http://wiki.eclipse.org/EclipseLink/Examples/JPA/CustomLogger
The SessionLogEntry class and SessionLog interface provide a lot of information about what is being logged, so in your custom implementation you can tune the logging exactly the way you want to.
http://www.eclipse.org/eclipselink/api/1.2/org/eclipse/persistence/logging/SessionLog.html
http://www.eclipse.org/eclipselink/api/1.2/org/eclipse/persistence/logging/SessionLogEntry.html
kind regards,
Jaap
----- Original Message -----
From: yannick.majoros@xxxxxxxxxxxx
To: eclipselink-users@xxxxxxxxxxx
Sent: Friday, March 26, 2010 10:00:22 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [eclipselink-users] eclipselink logging
Hi,
We are logging all sql requests, even though I read it isn't recommanded.
Would there be a way to log those requests, but not all other details
from the FINE level (weaving, ...)?
Thank you,
Yannick Majoros
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users