TopLink Wiki

Main
About
Javadoc
Forum
Resources

RecentChanges
About Wiki
Find Pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
TopLinkLog
LogSql
PreviewSql




JSPWiki v2.0.52


TopLinkLogging


All in the TopLinkDocumentation. Basically, it's as simple as adding the following to your sessions.xml.

<enable-logging>true</enable-logging>
<logging-options>
	<log-debug>true</log-debug>
	<log-exceptions>true</log-exceptions>
	<log-exception-stacktrace>true</log-exception-stacktrace>
	<print-thread>false</print-thread>
	<print-session>true</print-session>
	<print-connection>false</print-connection>
	<print-date>false</print-date>
</logging-options>

For more information about logging SQL statements specifically, see SqlLogging.

See Also

LogSql, PreviewSql


Edit this page   More info...   Attach file...
This page last changed on 07-Dec-2004 09:54:33 PST by 64.168.145.189.