1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 <title>DB_ENV->get_verbose()</title> 7 <link rel="stylesheet" href="apiReference.css" type="text/css" /> 8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> 9 <link rel="start" href="index.html" title="Berkeley DB C API Reference" /> 10 <link rel="up" href="env.html" title="Chapter��5.�� The DB_ENV Handle" /> 11 <link rel="prev" href="envget_tmp_dir.html" title="DB_ENV->get_tmp_dir()" /> 12 <link rel="next" href="envlsn_reset.html" title="DB_ENV->lsn_reset()" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">DB_ENV->get_verbose()</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="envget_tmp_dir.html">Prev</a>��</td> 22 <th width="60%" align="center">Chapter��5.�� 23 The DB_ENV Handle 24 </th> 25 <td width="20%" align="right">��<a accesskey="n" href="envlsn_reset.html">Next</a></td> 26 </tr> 27 </table> 28 <hr /> 29 </div> 30 <div class="sect1" lang="en" xml:lang="en"> 31 <div class="titlepage"> 32 <div> 33 <div> 34 <h2 class="title" style="clear: both"><a id="envget_verbose"></a>DB_ENV->get_verbose()</h2> 35 </div> 36 </div> 37 </div> 38 <pre class="programlisting">#include <db.h> 39 40int 41DB_ENV->get_verbose(DB_ENV *dbenv, u_int32_t which, int *onoffp); </pre> 42 <p> 43 The <code class="methodname">DB_ENV->get_verbose()</code> method returns whether the specified 44 <span class="bold"><strong>which</strong></span> parameter is currently set or not. These parameters 45 are set using the <a class="xref" href="envset_verbose.html" title="DB_ENV->set_verbose()">DB_ENV->set_verbose()</a> method. 46 </p> 47 <p> 48 The <code class="methodname">DB_ENV->get_verbose()</code> method may be called at any time during the life of the application. 49 </p> 50 <p> 51 The <code class="methodname">DB_ENV->get_verbose()</code> <span> 52 <span> 53 method returns a non-zero error value on failure and 0 on success. 54 </span> 55 56 </span> 57 58 </p> 59 <div class="sect2" lang="en" xml:lang="en"> 60 <div class="titlepage"> 61 <div> 62 <div> 63 <h3 class="title"><a id="id1664292"></a>Parameters</h3> 64 </div> 65 </div> 66 </div> 67 <div class="sect3" lang="en" xml:lang="en"> 68 <div class="titlepage"> 69 <div> 70 <div> 71 <h4 class="title"><a id="id1664384"></a>which</h4> 72 </div> 73 </div> 74 </div> 75 <p> 76 The <span class="bold"><strong>which</strong></span> parameter is the message 77 value for which configuration is being checked. Must be set to one of the following values: 78 </p> 79 <div class="itemizedlist"> 80 <ul type="disc"> 81 <li> 82 <p><a id="set_verbose_DB_VERB_DEADLOCK"></a> 83 <code class="literal">DB_VERB_DEADLOCK</code> 84 </p> 85 <p> 86 Display additional information when doing deadlock detection. 87 </p> 88 </li> 89 <li> 90 <p><a id="set_verbose_DB_VERB_FILEOPS"></a> 91 <code class="literal">DB_VERB_FILEOPS</code> 92 </p> 93 <p> 94 Display additional information when performing filesystem operations 95 such as open, close or rename. May not be available on all platforms. 96 </p> 97 </li> 98 <li> 99 <p><a id="set_verbose_DB_VERB_FILEOPS_ALL"></a> 100 <code class="literal">DB_VERB_FILEOPS_ALL</code> 101 </p> 102 <p> 103 Display additional information when performing all filesystem 104 operations, including read and write. May not be available on all 105 platforms. 106 </p> 107 </li> 108 <li> 109 <p><a id="set_verbose_DB_VERB_RECOVERY"></a> 110 <code class="literal">DB_VERB_RECOVERY</code> 111 </p> 112 <p> 113 Display additional information when performing recovery. 114 </p> 115 </li> 116 <li> 117 <p><a id="set_verbose_DB_VERB_REGISTER"></a> 118 <code class="literal">DB_VERB_REGISTER</code> 119 </p> 120 <p> 121 Display additional information concerning support for the 122 <a class="link" href="envopen.html#envopen_DB_REGISTER">DB_REGISTER</a> flag to 123 the <a class="xref" href="envopen.html" title="DB_ENV->open()">DB_ENV->open()</a> 124 method. 125 </p> 126 </li> 127 <li> 128 <p><a id="set_verbose_DB_VERB_REPLICATION"></a> 129 <code class="literal">DB_VERB_REPLICATION</code> 130 </p> 131 <p> 132 Display all detailed information about replication. This includes the 133 information displayed by all of the other DB_VERB_REP_* and 134 DB_VERB_REPMGR_* values. 135 </p> 136 </li> 137 <li> 138 <p><a id="set_verbose_DB_VERB_REP_ELECT"></a> 139 <code class="literal">DB_VERB_REP_ELECT</code> 140 </p> 141 <p> 142 Display detailed information about replication elections. 143 </p> 144 </li> 145 <li> 146 <p><a id="set_verbose_DB_VERB_REP_LEASE"></a> 147 <code class="literal">DB_VERB_REP_LEASE</code> 148 </p> 149 <p> 150 Display detailed information about replication master leases. 151 </p> 152 </li> 153 <li> 154 <p><a id="set_verbose_DB_VERB_REP_MISC"></a> 155 <code class="literal">DB_VERB_REP_MISC</code> 156 </p> 157 <p> 158 Display detailed information about general replication processing not 159 covered by the other DB_VERB_REP_* values. 160 </p> 161 </li> 162 <li> 163 <p><a id="set_verbose_DB_VERB_REP_MSGS"></a> 164 <code class="literal">DB_VERB_REP_MSGS</code> 165 </p> 166 <p> 167 Display detailed information about replication message processing. 168 </p> 169 </li> 170 <li> 171 <p><a id="set_verbose_DB_VERB_REP_SYNC"></a> 172 <code class="literal">DB_VERB_REP_SYNC</code> 173 </p> 174 <p> 175 Display detailed information about replication client synchronization. 176 </p> 177 </li> 178 <li> 179 <p><a id="set_verbose_DB_VERB_REPMGR_CONNFAIL"></a> 180 <code class="literal">DB_VERB_REPMGR_CONNFAIL</code> 181 </p> 182 <p> 183 Display detailed information about Replication Manager connection 184 failures. 185 </p> 186 </li> 187 <li> 188 <p><a id="set_verbose_DB_VERB_REPMGR_MISC"></a> 189 <code class="literal">DB_VERB_REPMGR_MISC</code> 190 </p> 191 <p> 192 Display detailed information about general Replication Manager 193 processing. 194 </p> 195 </li> 196 <li> 197 <p><a id="set_verbose_DB_VERB_WAITSFOR"></a> 198 <code class="literal">DB_VERB_WAITSFOR</code> 199 </p> 200 <p> 201 Display the waits-for table when doing deadlock detection. 202 </p> 203 </li> 204 </ul> 205 </div> 206 </div> 207 <div class="sect3" lang="en" xml:lang="en"> 208 <div class="titlepage"> 209 <div> 210 <div> 211 <h4 class="title"><a id="id1664630"></a>onoffp</h4> 212 </div> 213 </div> 214 </div> 215 <p> 216 The <span class="bold"><strong>onoffp</strong></span> parameter references 217 memory into which the configuration of the specified <span class="bold"><strong>which</strong></span> parameter is copied. 218 </p> 219 </div> 220 </div> 221 <div class="sect2" lang="en" xml:lang="en"> 222 <div class="titlepage"> 223 <div> 224 <div> 225 <h3 class="title"><a id="id1664575"></a>Class</h3> 226 </div> 227 </div> 228 </div> 229 <p> 230 <a class="link" href="env.html" title="Chapter��5.�� The DB_ENV Handle">DB_ENV</a> 231 </p> 232 </div> 233 <div class="sect2" lang="en" xml:lang="en"> 234 <div class="titlepage"> 235 <div> 236 <div> 237 <h3 class="title"><a id="id1664733"></a>See Also</h3> 238 </div> 239 </div> 240 </div> 241 <p> 242 <a class="xref" href="env.html#envlist" title="Database Environments and Related Methods">Database Environments and Related Methods</a> 243 </p> 244 </div> 245 </div> 246 <div class="navfooter"> 247 <hr /> 248 <table width="100%" summary="Navigation footer"> 249 <tr> 250 <td width="40%" align="left"><a accesskey="p" href="envget_tmp_dir.html">Prev</a>��</td> 251 <td width="20%" align="center"> 252 <a accesskey="u" href="env.html">Up</a> 253 </td> 254 <td width="40%" align="right">��<a accesskey="n" href="envlsn_reset.html">Next</a></td> 255 </tr> 256 <tr> 257 <td width="40%" align="left" valign="top">DB_ENV->get_tmp_dir()��</td> 258 <td width="20%" align="center"> 259 <a accesskey="h" href="index.html">Home</a> 260 </td> 261 <td width="40%" align="right" valign="top">��DB_ENV->lsn_reset()</td> 262 </tr> 263 </table> 264 </div> 265 </body> 266</html> 267