</div>
<p>This will send log messages to a server at <code class="highlighter-rouge">localhost:12201</code>.</p>

<h2 id="example-custom-fields-in-config">Example (custom fields in config)</h2>
<div class="language-javascript highlighter-rouge"><pre class="highlight"><code><span class="nx">log4js</span><span class="p">.</span><span class="nx">configure</span><span class="p">({</span>
  <span class="na">appenders</span><span class="p">:</span> <span class="p">{</span>
    <span class="na">gelf</span><span cl