Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Logging to finer or finest level is overwritten by spring showSQL

Spring is overwriting the EclipseLink setting.  If they wanted, they could check the global value and only set it if the value was < FINE and leave it otherwise.




On 13/08/2014 11:21 AM, Radek Menšík wrote:

Maybe, if global logging level is less informative than required one, eclipse link should overwrite this global?

I mean spring wants FINE, Eclipselink is set to FINER, then FINER should be result?

 

Thank you, Radek

 

From: eclipselink-users-bounces@xxxxxxxxxxx [mailto:eclipselink-users-bounces@xxxxxxxxxxx] On Behalf Of Lukas Jungmann
Sent: Wednesday, August 13, 2014 5:17 PM
To: eclipselink-users@xxxxxxxxxxx
Subject: Re: [eclipselink-users] Logging to finer or finest level is overwritten by spring showSQL

 

On 8/13/14, 4:57 PM, Radek Menšík wrote:

I Have described the problem here:

 

http://stackoverflow.com/questions/25264305/eclipselink-is-not-logging-finer-or-finest-level-only-fine


Based on the code involved[1], I'd say it is a bug in Spring. They should be using " eclipselink.logging.level.sql=FINE" instead of setting global logging level to FINE  if they want to just shown SQL statements (not only to avoid unnecessary output but to also allow better user logging configuration).

--lukas

[1]: http://grepcode.com/file/repo1.maven.org/maven2/org.springframework/spring-orm/4.0.5.RELEASE/org/springframework/orm/jpa/vendor/EclipseLinkJpaVendorAdapter.java#EclipseLinkJpaVendorAdapter.getJpaPropertyMap%28%29

 

 

Radek




_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

 



_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top