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>DbEnv::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 DbEnv Handle" /> 11 <link rel="prev" href="envget_tmp_dir.html" title="DbEnv::get_tmp_dir()" /> 12 <link rel="next" href="envlsn_reset.html" title="DbEnv::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">DbEnv::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 DbEnv 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>DbEnv::get_verbose()</h2> 35 </div> 36 </div> 37 </div> 38 <pre class="programlisting">#include <db_cxx.h> 39 40int 41DbEnv::get_verbose(u_int32_t which, int *onoffp);</pre> 42 <p> 43 The <code class="methodname">DbEnv::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="DbEnv::set_verbose()">DbEnv::set_verbose()</a> method. 46 </p> 47 <p> 48 The <code class="methodname">DbEnv::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">DbEnv::get_verbose()</code> <span> 52 53 <span> 54 method either returns a non-zero error value or throws an 55 exception that encapsulates a non-zero error value on 56 failure, and returns 0 on success. 57 </span> 58 </span> 59 60 </p> 61 <div class="sect2" lang="en" xml:lang="en"> 62 <div class="titlepage"> 63 <div> 64 <div> 65 <h3 class="title"><a id="id1666418"></a>Parameters</h3> 66 </div> 67 </div> 68 </div> 69 <div class="sect3" lang="en" xml:lang="en"> 70 <div class="titlepage"> 71 <div> 72 <div> 73 <h4 class="title"><a id="id1666667"></a>which</h4> 74 </div> 75 </div> 76 </div> 77 <p> 78 The <span class="bold"><strong>which</strong></span> parameter is the message 79 value for which configuration is being checked. Must be set to one of the following values: 80 </p> 81 <div class="itemizedlist"> 82 <ul type="disc"> 83 <li> 84 <p><a id="set_verbose_DB_VERB_DEADLOCK"></a> 85 <code class="literal">DB_VERB_DEADLOCK</code> 86 </p> 87 <p> 88 Display additional information when doing deadlock detection. 89 </p> 90 </li> 91 <li> 92 <p><a id="set_verbose_DB_VERB_FILEOPS"></a> 93 <code class="literal">DB_VERB_FILEOPS</code> 94 </p> 95 <p> 96 Display additional information when performing filesystem operations 97 such as open, close or rename. May not be available on all platforms. 98 </p> 99 </li> 100 <li> 101 <p><a id="set_verbose_DB_VERB_FILEOPS_ALL"></a> 102 <code class="literal">DB_VERB_FILEOPS_ALL</code> 103 </p> 104 <p> 105 Display additional information when performing all filesystem 106 operations, including read and write. May not be available on all 107 platforms. 108 </p> 109 </li> 110 <li> 111 <p><a id="set_verbose_DB_VERB_RECOVERY"></a> 112 <code class="literal">DB_VERB_RECOVERY</code> 113 </p> 114 <p> 115 Display additional information when performing recovery. 116 </p> 117 </li> 118 <li> 119 <p><a id="set_verbose_DB_VERB_REGISTER"></a> 120 <code class="literal">DB_VERB_REGISTER</code> 121 </p> 122 <p> 123 Display additional information concerning support for the 124 <a class="link" href="envopen.html#envopen_DB_REGISTER">DB_REGISTER</a> flag to 125 the <a class="xref" href="envopen.html" title="DbEnv::open()">DbEnv::open()</a> 126 method. 127 </p> 128 </li> 129 <li> 130 <p><a id="set_verbose_DB_VERB_REPLICATION"></a> 131 <code class="literal">DB_VERB_REPLICATION</code> 132 </p> 133 <p> 134 Display all detailed information about replication. This includes the 135 information displayed by all of the other DB_VERB_REP_* and 136 DB_VERB_REPMGR_* values. 137 </p> 138 </li> 139 <li> 140 <p><a id="set_verbose_DB_VERB_REP_ELECT"></a> 141 <code class="literal">DB_VERB_REP_ELECT</code> 142 </p> 143 <p> 144 Display detailed information about replication elections. 145 </p> 146 </li> 147 <li> 148 <p><a id="set_verbose_DB_VERB_REP_LEASE"></a> 149 <code class="literal">DB_VERB_REP_LEASE</code> 150 </p> 151 <p> 152 Display detailed information about replication master leases. 153 </p> 154 </li> 155 <li> 156 <p><a id="set_verbose_DB_VERB_REP_MISC"></a> 157 <code class="literal">DB_VERB_REP_MISC</code> 158 </p> 159 <p> 160 Display detailed information about general replication processing not 161 covered by the other DB_VERB_REP_* values. 162 </p> 163 </li> 164 <li> 165 <p><a id="set_verbose_DB_VERB_REP_MSGS"></a> 166 <code class="literal">DB_VERB_REP_MSGS</code> 167 </p> 168 <p> 169 Display detailed information about replication message processing. 170 </p> 171 </li> 172 <li> 173 <p><a id="set_verbose_DB_VERB_REP_SYNC"></a> 174 <code class="literal">DB_VERB_REP_SYNC</code> 175 </p> 176 <p> 177 Display detailed information about replication client synchronization. 178 </p> 179 </li> 180 <li> 181 <p><a id="set_verbose_DB_VERB_REPMGR_CONNFAIL"></a> 182 <code class="literal">DB_VERB_REPMGR_CONNFAIL</code> 183 </p> 184 <p> 185 Display detailed information about Replication Manager connection 186 failures. 187 </p> 188 </li> 189 <li> 190 <p><a id="set_verbose_DB_VERB_REPMGR_MISC"></a> 191 <code class="literal">DB_VERB_REPMGR_MISC</code> 192 </p> 193 <p> 194 Display detailed information about general Replication Manager 195 processing. 196 </p> 197 </li> 198 <li> 199 <p><a id="set_verbose_DB_VERB_WAITSFOR"></a> 200 <code class="literal">DB_VERB_WAITSFOR</code> 201 </p> 202 <p> 203 Display the waits-for table when doing deadlock detection. 204 </p> 205 </li> 206 </ul> 207 </div> 208 </div> 209 <div class="sect3" lang="en" xml:lang="en"> 210 <div class="titlepage"> 211 <div> 212 <div> 213 <h4 class="title"><a id="id1666409"></a>onoffp</h4> 214 </div> 215 </div> 216 </div> 217 <p> 218 The <span class="bold"><strong>onoffp</strong></span> parameter references 219 memory into which the configuration of the specified <span class="bold"><strong>which</strong></span> parameter is copied. 220 </p> 221 </div> 222 </div> 223 <div class="sect2" lang="en" xml:lang="en"> 224 <div class="titlepage"> 225 <div> 226 <div> 227 <h3 class="title"><a id="id1666888"></a>Class</h3> 228 </div> 229 </div> 230 </div> 231 <p> 232 <a class="link" href="env.html" title="Chapter 5. The DbEnv Handle">DbEnv</a> 233 </p> 234 </div> 235 <div class="sect2" lang="en" xml:lang="en"> 236 <div class="titlepage"> 237 <div> 238 <div> 239 <h3 class="title"><a id="id1667016"></a>See Also</h3> 240 </div> 241 </div> 242 </div> 243 <p> 244 <a class="xref" href="env.html#envlist" title="Database Environments and Related Methods">Database Environments and Related Methods</a> 245 </p> 246 </div> 247 </div> 248 <div class="navfooter"> 249 <hr /> 250 <table width="100%" summary="Navigation footer"> 251 <tr> 252 <td width="40%" align="left"><a accesskey="p" href="envget_tmp_dir.html">Prev</a> </td> 253 <td width="20%" align="center"> 254 <a accesskey="u" href="env.html">Up</a> 255 </td> 256 <td width="40%" align="right"> <a accesskey="n" href="envlsn_reset.html">Next</a></td> 257 </tr> 258 <tr> 259 <td width="40%" align="left" valign="top">DbEnv::get_tmp_dir() </td> 260 <td width="20%" align="center"> 261 <a accesskey="h" href="index.html">Home</a> 262 </td> 263 <td width="40%" align="right" valign="top"> DbEnv::lsn_reset()</td> 264 </tr> 265 </table> 266 </div> 267 </body> 268</html> 269