<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/Logging?focusedCommentId=74285895#comment-74285895">Logging</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://docs.jboss.org/author/display/~van.halbert">Van Halbert</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>Just added the custom-db-appender quick start, and what I found was that if command logging is used, we should also recommend using the async-handler:</p>

<p>            &lt;async-handler name="ASYNC"&gt;<br/>
                &lt;level name="DEBUG"/&gt;<br/>
                &lt;queue-length value="1024"/&gt;<br/>
                &lt;overflow-action value="block"/&gt;<br/>
                &lt;subhandlers&gt;<br/>
                    &lt;handler name="COMMAND"/&gt;<br/>
                &lt;/subhandlers&gt;<br/>
            &lt;/async-handler&gt;</p>

<p>Otherwise, Teiid is blocked until the write is completed.  And I didn't see any information that needed (like any timing info) that required it be synchronously processed.  Also, wasn't sure if this info would be better suited on the custom logging page or here.</p>
    </div>

        
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://docs.jboss.org/author/display/TEIID/Logging?focusedCommentId=74285895#comment-74285895">View Online</a>
              |
       <a id="reply-74285895" href="https://docs.jboss.org/author/display/TEIID/Logging?replyToComment=74285895#comment-74285895">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>