Hi,
Env: Netbeans 6.7, Java desktop app
Does the Netbeans oracle.toplink.essentials implemention employ a
sessions.xml file?
I need to add the following to this file:
There is a option to redirect the log to a file and that can be configured
in Session.xml .Add the below xml element to Session.xml and based on the
log level you can log the sql statements.
<?xml version="1.0" encoding="Cp1252" ?>
<sessions version="1.1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<session xsi:type="server-session">
<name>default</name>
<server-platform xsi:type="weblogic-10-platform"/>
<logging xsi:type="eclipselink-log">
<log-level>finer</log-level>
<file-name>C:\Toplinklog\Pojo\QLS.log</file-name>
</logging>
<primary-project xsi:type="xml">META-INF/tlMap.xml</primary-project>
</session>
</sessions>
Thanks
Post by Dave KennedyHi,
Is it possible to send toplink.logging.logger messages to log4j log file ?
Thanks
Dave