Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Logging SQL results and more

Hi Joe,

It is not clear to me what the problem you are seeing is. Based on my reading, you are not seeing logging messages at a level lower than FINE. Is that the issue? If not, can you provide a specific description of the issue.

Assuming your properties are setup properly in your persistence.xml, I expect setting eclipselink.logging.level to FINEST will result in getting FINEST level logging. Note: There is a limited amount of information logged at the FINEST level in EclipseLink. Significantly more logging occurs at the FINER level.

One thing you might want to try is to remove a couple of the space from your xml - some parsers are quite picky:

<property name="eclipselink.logging.level" value="FINEST" />

Assuming that does not help, what code are you running? What do you expect to see that is not shown?

-Tom

Joe Mc. wrote:
Hi folks,

I am using this thread, cause the context of my current problem is the same.

I am playing with the logging properties of EclipseLink 1.0 and 1.0.2, with
no success.
Some settings has no effects.
I use at the moment in the persistence.xml:

< property name="eclipselink.weaving" value="static" / >
< property name="eclipselink.logging.level.sql" value="FINEST" / >
< property name="eclipselink.logging.level" value="FINEST" / >
< property name="eclipselink.logging.level.cache" value="FINEST" / >
			
< property name="eclipselink.session.customizer" value="com...CustomizerLog"
/>


I see without the Session Customizer only "[EL Fine]" declared output,
nothing more.
However, I will see every interaction with - the database
- 1level cache
- 2level cache
- everything (ok, the raw database response is not necessary ;-)

that means I will see the "FINEST" output.

Does any other configuration is needed?
Does is it really work? (I saw some bug reports in this context)

Maybe, someone has any hints
Thanks in advance!

Mc. Joe





Back to the top