[Zope-Checkins] CVS: Products/DCOracle2/dtml - trace.dtml:1.2
Matthew T. Kromer
matt@zope.com
Wed, 24 Oct 2001 17:41:42 -0400
Update of /cvs-repository/Products/DCOracle2/dtml
In directory cvs.zope.org:/tmp/cvs-serv18267/dtml
Modified Files:
trace.dtml
Log Message:
Updated debug information; added Version method on connection object to extract
product version information from Oracle. Debug tab on managment screen in
Zope updated as well.
=== Products/DCOracle2/dtml/trace.dtml 1.1 => 1.2 ===
<dtml-var name="manage_tabs">
+ <h2>DCOracle2 Debug Information</h2>
+
+ <dtml-try>
+ <p>
+ Oracle version strings:
+ </p>
+ <ul>
+ <dtml-in name="ZDCO2VERSION">
+ <li><dtml-var name="sequence-key">: <dtml-var name="sequence-item">
+ </dtml-in>
+ </ul>
+ <dtml-except>
+ <p><font color="red">Unable to determine Oracle version strings.</font></p>
+ </dtml-try>
+
+ <dtml-try>
<h2> Debug log </h2>
<dtml-in name="ZDCO2DEBUG">
<dtml-var name="sequence-item"><br>
</dtml-in>
+ <dtml-except NotImplementedError>
+ <p>DCOracle2 is not activated with tracing enabled. To enable
+ DCOracle2's trace facilities, set one of the following environment
+ variables:
+ </p>
+ <ul>
+ <li>DCO2TRACESIZE <em>Set to size of trace table, in entries, e.g. 512</em>
+ <li>DCO2TRACEFLAGS <em>Set to bitmask of what events to trace, e.g. 255</em>
+ <li>DCO2TRACEDUMP <em>Set to filename to record trace table to when errors occur</em>
+ <li>DCO2TRACELOG <em>Set to filename to record all trace events</em>
+ </ul>
+ </dtml-try>
</body>
</html>