<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to CommandReference</title><link>https://sourceforge.net/p/dbd2/wiki/CommandReference/</link><description>Recent changes to CommandReference</description><atom:link href="https://sourceforge.net/p/dbd2/wiki/CommandReference/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 02 Jan 2021 00:31:06 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dbd2/wiki/CommandReference/feed" rel="self" type="application/rss+xml"/><item><title>CommandReference modified by Ed Freesmeyer</title><link>https://sourceforge.net/p/dbd2/wiki/CommandReference/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -5,9 +5,9 @@
 
-            
+            
-            
+            &lt;table&gt;
     &lt;tbody&gt;
         &lt;tr&gt;&lt;td&gt;&lt;a href="#GlobalCommands"&gt;Global Commands&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="#GlobalCommands"&gt;Global Command Summary&lt;/a&gt;&lt;/td&gt;
         &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="#OutputCommands"&gt;Output Commands&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="#OutputCommands"&gt;Output Command Summary&lt;/a&gt;&lt;/td&gt;
         &lt;/tr&gt;
     &lt;/tbody&gt;
 &lt;/table&gt;
@@ -31,14 +31,14 @@
     &lt;i&gt;&lt;b&gt;OutputLines&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of lines (msg-slots) to allocate for each &lt;i&gt;Output-Threadpool&lt;/i&gt;&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;Connections&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of database connections to support for each output-type of &lt;i&gt;mysql&lt;/i&gt;.&lt;br/&gt;
     
-    &lt;i&gt;&lt;b&gt;MaxInputFields, InputFieldCount&lt;/b&gt;&lt;/i&gt; ::= Maximum number of &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pairs in any incoming data string (not counting the &lt;i&gt;template-string&lt;/i&gt; definition). If CAP_Syslog is defined, this value has a floor of "4" (facpri, time, host, msg fields).  Incoming messages that exceed this number will have only the first &amp;lt;n&amp;gt; &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pairs used.  Each additional value adds 12 bytes to each message-structure.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;MaxInputFields, InputFieldCount&lt;/b&gt;&lt;/i&gt; ::= Maximum number of &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pairs in any incoming data string (not counting the &lt;i&gt;template-string&lt;/i&gt; definition). If CAP_Syslog is defined, this value has a floor of "4" (facpri, time, host, msg fields).  Incoming messages that exceed this number will have only the first &amp;lt;n&amp;gt; &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pairs used.  Each additional value adds 12 bytes to each message-structure.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;MsgStructCount, GlobalMsgCount&lt;/b&gt;&lt;/i&gt; ::= The total number of message-structures allocated for system use.  The message structures are allocated at startup and then issued to active threadpools on request.  If this number is too low, data may be lost while waiting for msg-structures to be freed up after writing contents to output-destinations.  If too high, some of the allocated structures may not be used. (Better too many than not enough)&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;HostName&lt;/b&gt;&lt;/i&gt; ::= The hostname of the &lt;i&gt;DBD2&lt;/i&gt; server.  DBD2 will initialize this value using the &lt;i&gt;gethostname()&lt;/i&gt; system call. This option allows the administrator to over-ride the results of the &lt;i&gt;gethostname()&lt;/i&gt; system-call.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;DomainName, Domain&lt;/b&gt;&lt;/i&gt; ::= The domain-name to use when forming Fully Qualified Domain Name (FQDN) values. Not all Linux hostnames contain correct domain-names. This allows the administrator to over-ride the domain-name contained in the results of the &lt;i&gt;gethostname()&lt;/i&gt; system-call.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;TemplateKeyNames, Templatenames&lt;/b&gt;&lt;/i&gt; ::= Changes the default name-list used by the &lt;i&gt;DBD2&lt;/i&gt; server to identify which &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pair contains the &lt;i&gt;&amp;lt;template-string&amp;gt;&lt;/i&gt;.&lt;br/&gt;
     &lt;p&gt;&lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
     &lt;i&gt;&lt;b&gt;input, socket&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;ConnectionSpec&amp;gt; that defines an IP or Linux socket for data input. (Currently only TCP or Streaming Linux sockets are supported.)&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;pipe&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;ConnectionSpec&amp;gt; that defines a Named-Pipe for data input. (Not yet implemented)&lt;br/&gt;
+
     &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::= Enable Global boolean values.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::= Disable Global boolean values.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 40px;"&gt;
@@ -104,11 +104,11 @@
     &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
     The following output options are available only when either CAP_MYSQL or CAP_DBI is compiled into the binary:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
-        &lt;i&gt;&lt;b&gt;host&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;database, dbname, name, N&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;username, dbuser, user, U&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;password, dbpass, pass, pwd, W&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;connections&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;host&lt;/b&gt;&lt;/i&gt; ::= This option specifies a &lt;a href="../TermsConcepts#ConnectionSpec"&gt;&lt;i&gt;&amp;lt;HostSpec&amp;gt;&lt;/i&gt;&lt;/a&gt; that specifies how to connect to the database. The &lt;i&gt;&amp;lt;HostSpec&amp;gt;&lt;/i&gt; does not define a specific connection -- rather the &lt;i&gt;&amp;lt;HostSpec&amp;gt;&lt;/i&gt; parameters are translated into database API syntax where they are then used to establish each of the multiple connections to that database.  The &lt;i&gt;&amp;lt;HostSpec&amp;gt;&lt;/i&gt; syntax was chosen for consistency with other &lt;i&gt;DBD2&lt;/i&gt; parameters such as &lt;i&gt;&amp;lt;FileSpec&amp;gt;&lt;/i&gt; and &lt;i&gt;&amp;lt;InputSpec&amp;gt;&lt;/i&gt; and to allow for inclusion (again for consistency) of &lt;i&gt;DBD2&lt;/i&gt; parameters such as threadpool control and configuration settings as well as future " output "connection-related" values (such as filters and spooling).&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;database, dbname, name, N&lt;/b&gt;&lt;/i&gt; ::= The name of the database to connect to.&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;username, dbuser, user, U&lt;/b&gt;&lt;/i&gt; ::= The database-user-account to connect to the database as.&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;password, dbpass, pass, pwd, W&lt;/b&gt;&lt;/i&gt; ::= The password for the database-user-account.&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;connections&lt;/b&gt;&lt;/i&gt; ::= The number of concurrent connections this output definition will create to this database.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
     The following output option(s) are available only when CAP_SYSLOG is compiled into the binary:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
&lt;/p&gt;&amp;lt;/n&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ed Freesmeyer</dc:creator><pubDate>Sat, 02 Jan 2021 00:31:06 -0000</pubDate><guid>https://sourceforge.net02181ccae4d0014c61378321b00f23701d9712cf</guid></item><item><title>CommandReference modified by Ed Freesmeyer</title><link>https://sourceforge.net/p/dbd2/wiki/CommandReference/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -14,80 +14,91 @@
 &lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
 &lt;a href="#top"&gt;Return to top&lt;/a&gt;
 &lt;/p&gt;
-&lt;h2 style="color: black;"&gt;Global Commands&lt;/h2&gt;&lt;a id="GlobalCommands"&gt;&lt;/a&gt;
+&lt;a id="GlobalCommands"&gt;&lt;/a&gt;&lt;h2 style="color: black;"&gt;Global Commands&lt;/h2&gt;
 &lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
     &lt;a href="#top"&gt;Return to top&lt;/a&gt;&lt;br/&gt;
         The following global options are always available:
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 20px;"&gt;
     &lt;i&gt;&lt;b&gt;defaults&lt;/b&gt;&lt;/i&gt; ::= Set global default values. (Over-rides corresponding compiled-in values)&lt;br/&gt;
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
-    &lt;i&gt;&lt;b&gt;SpoolDir&lt;/b&gt;&lt;/i&gt; ::= Not yet implemented or used.&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 40px;"&gt;
+    
     &lt;i&gt;&lt;b&gt;ConfigDir&lt;/b&gt;&lt;/i&gt; ::= Location of the cache-file if cache-file is given as a relative filename.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;CacheFile&lt;/b&gt;&lt;/i&gt; ::= User-supplied name-cache file for use in building envelope-variables and resolving incoming IP-Addresses to hostnames.&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;Readers&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;Workers&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;Writers, OutputWriters, OutputWorkers&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;lines&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;OutputLines&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;Connections&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;MaxFileSize, mfs&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;MaxInputFields, InputFieldCount&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;MsgStructCount, GlobalMsgCount&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;HostName&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;DomainName, Domain&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;TemplateKeyNames, Templatenames&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
+    &lt;i&gt;&lt;b&gt;Readers&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of threads to create for each &lt;i&gt;Reader-Threadpool&lt;/i&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;Workers&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of threads to create for each &lt;i&gt;Worker-Threadpool&lt;/i&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;Writers, OutputWriters, OutputWorkers&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of threads to create for each &lt;i&gt;Output-Threadpool&lt;/i&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;lines&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of lines (msg-slots) to allocate for each &lt;i&gt;Worker-Threadpool&lt;/i&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;OutputLines&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of lines (msg-slots) to allocate for each &lt;i&gt;Output-Threadpool&lt;/i&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;Connections&lt;/b&gt;&lt;/i&gt; ::= Minimum (default) number of database connections to support for each output-type of &lt;i&gt;mysql&lt;/i&gt;.&lt;br/&gt;
+    
+    &lt;i&gt;&lt;b&gt;MaxInputFields, InputFieldCount&lt;/b&gt;&lt;/i&gt; ::= Maximum number of &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pairs in any incoming data string (not counting the &lt;i&gt;template-string&lt;/i&gt; definition). If CAP_Syslog is defined, this value has a floor of "4" (facpri, time, host, msg fields).  Incoming messages that exceed this number will have only the first &amp;lt;n&amp;gt; &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pairs used.  Each additional value adds 12 bytes to each message-structure.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;MsgStructCount, GlobalMsgCount&lt;/b&gt;&lt;/i&gt; ::= The total number of message-structures allocated for system use.  The message structures are allocated at startup and then issued to active threadpools on request.  If this number is too low, data may be lost while waiting for msg-structures to be freed up after writing contents to output-destinations.  If too high, some of the allocated structures may not be used. (Better too many than not enough)&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;HostName&lt;/b&gt;&lt;/i&gt; ::= The hostname of the &lt;i&gt;DBD2&lt;/i&gt; server.  DBD2 will initialize this value using the &lt;i&gt;gethostname()&lt;/i&gt; system call. This option allows the administrator to over-ride the results of the &lt;i&gt;gethostname()&lt;/i&gt; system-call.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;DomainName, Domain&lt;/b&gt;&lt;/i&gt; ::= The domain-name to use when forming Fully Qualified Domain Name (FQDN) values. Not all Linux hostnames contain correct domain-names. This allows the administrator to over-ride the domain-name contained in the results of the &lt;i&gt;gethostname()&lt;/i&gt; system-call.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;TemplateKeyNames, Templatenames&lt;/b&gt;&lt;/i&gt; ::= Changes the default name-list used by the &lt;i&gt;DBD2&lt;/i&gt; server to identify which &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt; pair contains the &lt;i&gt;&amp;lt;template-string&amp;gt;&lt;/i&gt;.&lt;br/&gt;
+    &amp;lt;/n&amp;gt;&lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
     &lt;i&gt;&lt;b&gt;input, socket&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;ConnectionSpec&amp;gt; that defines an IP or Linux socket for data input. (Currently only TCP or Streaming Linux sockets are supported.)&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;pipe&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;ConnectionSpec&amp;gt; that defines a Named-Pipe for data input. (Not yet implemented)&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::= Enable Global boolean values.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::= Disable Global boolean values.&lt;br/&gt;
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 40px;"&gt;
     &lt;i&gt;&lt;b&gt;IPv4, 4&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;IPv6, 6&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;log, l&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will log all incoming messages to either output-specific or global log file.  Default: Disabled.  Log output is of the form:&lt;br/&gt; &lt;span style="color: #8f0000;"&gt;Template &amp;lt;template-string&amp;gt; "&amp;lt;raw input&amp;gt;" ==&amp;gt; "&amp;lt;processed-output&amp;gt;"&lt;/span&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;log, l&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will log all incoming messages to either output-specific or global log file.  Default: Disabled.  Log output is of the form:&lt;br/&gt;
+        &lt;span style="color: #8f0000;"&gt;Template &amp;lt;template-string&amp;gt;: Input String: "&amp;lt;raw input&amp;gt;" ==&amp;gt; "&amp;lt;processed-output&amp;gt;"&lt;/span&gt;&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;dns, d&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will use DNS queries if the name-cache is disabled or when name-cache queries fail. Default: Enabled&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;inet, i&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will allow IP input and output connections. Default: Enabled&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;cache, c&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will use it's internal name-cache information to resolve IP addresses and to create envelope-variables. If no cache-file is provided (or an incomplete one), and if DNS is enabled, DNS responses will be added to the name-cache. Default: Enabled&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;syslog, s&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will accept and act on syslog input when received if otherwise configured. Default: Disabled&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;queue, q&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will utilize alternate queueing algorithms and will wait for a queue slot to become available whenever a queue is full.  The default action is to discard messages when queueing to a full queue.  Default: Disabled&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;interfacequery, query&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will query local network interfaces and use the results to validate input IP-Addresses. Default: Enabled&lt;br/&gt;
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
-    &lt;i&gt;&lt;b&gt;timestring&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;selfaddress, self&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;threads&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;var&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;$&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+        &lt;i&gt;&lt;b&gt;timestring&lt;/b&gt;&lt;/i&gt; ::= Defines an indexed time-format using &lt;i&gt;strftime&lt;/i&gt; format specifiers. (See Linux manual page for strftime).  &lt;span style="color: #8f0000;"&gt;timestring = 100 = &lt;i&gt;&amp;lt;unquoted format string&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;selfaddress, self&lt;/b&gt;&lt;/i&gt; ::= This option allows an administrator to manually specify that an IP address is present on an interface. This is not currently a known issue for Linux.  Apple's Mac OSX does not properly interpret IPv6 addresses such as "fec0:2::90", making this option necessary on my Mac.  Ports to other operating systems may experience similar failures.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;threads&lt;/b&gt;&lt;/i&gt; ::= A semi-colon (' ; ') separated list of threadpool declarations. The &lt;i&gt;threads&lt;/i&gt; option  configures threadpools. It can increase (but not decrease) the default  thread-counts or buffer-line-counts for any threadpool of any type or it can define new threadpools of any type.&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 40px;"&gt;
+    &lt;i&gt;&lt;b&gt;type, t =&amp;lt;threadpool-type&amp;gt;&lt;/b&gt;&lt;/i&gt; ::= &amp;lt;Threadpool-type&amp;gt; is one of " &lt;i&gt;input&lt;/i&gt; ", " &lt;i&gt;worker&lt;/i&gt; " or " &lt;i&gt;output&lt;/i&gt; "&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;id, i=&amp;lt;numeric-threadpool-id&amp;gt;&lt;/b&gt;&lt;/i&gt; ::= The threadpool-id being configured. &amp;lt;Threadpool-Id&amp;gt; values are non-negative integer identifiers. The default threadpool-id for each &lt;i&gt;threadpool-type&lt;/i&gt; is zero (0).&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;queue, q=&amp;lt;numeric-threadpool-id&amp;gt;&lt;/b&gt;&lt;/i&gt; ::= Valid for &lt;i&gt;input&lt;/i&gt;-type declarations only. Defines which worker-threadpool a given reader-threadpool will queue it's data to.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;readers, r&lt;/b&gt;&lt;/i&gt; ::= Valid for &lt;i&gt;input-type&lt;/i&gt; threadpools only. Increases the default (minimum) number of input-threads to create for the threadpool being defined.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;workers, writers, w&lt;/b&gt;&lt;/i&gt; ::= Valid for &lt;i&gt;worker-type&lt;/i&gt; or &lt;i&gt;output-type&lt;/i&gt; threadpools only. Increases the default (minimum) number of threads to create for the threadpool being defined.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;lines, l&lt;/b&gt;&lt;/i&gt; ::= Valid for &lt;i&gt;worker-type&lt;/i&gt; or &lt;i&gt;output-type&lt;/i&gt; threadpools only.  Increases the default (minimum) number of buffer (queue) entries for the threadpool being defined.&lt;br/&gt;
+    &lt;span style="color: #8f0000;"&gt;threads= id=0, readers=4, q = 1, type=input; id=1, type=worker, lines=500, workers=5; type=output, id=0, workers=8, lines=200;&lt;/span&gt;&lt;br/&gt;
+    &lt;span style="color: #8f0000;"&gt;threads= id=10, readers=6, q = 2, type=input; id=2, type=worker, lines=300, workers=6; type=output, id=1, workers=12, lines=300;&lt;/span&gt;&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+    &lt;i&gt;&lt;b&gt;var&lt;/b&gt;&lt;/i&gt; ::= Defines an &lt;a href="../TermsConcepts#SqlVars"&gt;&lt;i&gt;sql (user-string-provided) variable&lt;/i&gt;&lt;/a&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;$&lt;/b&gt;&lt;/i&gt; ::= Defines an &lt;a href="../TermsConcepts#SystemVars"&gt;&lt;i&gt;envelope (calculated) variable&lt;/i&gt;&lt;/a&gt;&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines the global error file.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines the global log file.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
     The following global options are available only when CAP_SYSLOG is compiled into the binary:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
-    &lt;i&gt;&lt;b&gt;&amp;lt;Syslog-style selector-string&amp;gt;&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
+    &lt;i&gt;&lt;b&gt;&amp;lt;Syslog-style selector-string&amp;gt;&lt;/b&gt;&lt;/i&gt; ::= The "keyword" of this option is a &lt;i&gt;syslog-style selector-string&lt;i&gt;, the &lt;i&gt;&amp;lt;value&amp;gt;&lt;/i&gt; component is a &lt;a href="../TermsConcepts#TemplateString"&gt;&lt;i&gt;&amp;lt;template-string&amp;gt;&lt;/i&gt;&lt;/a&gt;.&lt;br/&gt;
+    &lt;/i&gt;&lt;/i&gt;&lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;&lt;i&gt;&lt;i&gt;
     &lt;a href="#top"&gt;Return to top&lt;/a&gt;
     &lt;/i&gt;&lt;/i&gt;&lt;/p&gt;&lt;i&gt;&lt;i&gt;
-&lt;h2 style="color: black;"&gt;Output Commands&lt;/h2&gt;&lt;a id="OutputCommands"&gt;&lt;/a&gt;
-    &lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
-    &lt;a href="#top"&gt;Return to top&lt;/a&gt;
+&lt;a id="OutputCommands"&gt;&lt;/a&gt;&lt;/p&gt;&lt;h2 style="color: black;"&gt;Output Commands&lt;/h2&gt;
+    &lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
+    &lt;a href="#top"&gt;Return to top&lt;/a&gt;&lt;br/&gt;
         The following output options are always available:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
         &lt;i&gt;&lt;b&gt;destid, i&lt;/b&gt;&lt;/i&gt; ::= A single (non-case-sensitive) letter to identify this output section in &lt;a href="../TermsConcepts#TemplateString"&gt;template-strings&lt;/a&gt;.&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;description, desc&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 40px;"&gt;
+        &lt;i&gt;&lt;b&gt;logfile, log, l&lt;/b&gt;&lt;/i&gt; ::= A boolean keyword to enable logging of dbcl (non-syslog) data to this database.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
-        &lt;i&gt;&lt;b&gt;logfile, log, l&lt;/b&gt;&lt;/i&gt; ::= A boolean keyword to enable logging of dbcl (non-syslog) data to this database.&lt;br/&gt;
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
         &lt;i&gt;&lt;b&gt;file&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;FileSpec&amp;gt; that defines the primary output file of this threadpool. (Only valid for output-destinations of type " &lt;i&gt;file&lt;/i&gt; ").&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;threadpoolid, id, p&lt;/b&gt;&lt;/i&gt; ::= The identifier of the output threadpool that services this output section.&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;lines&lt;/b&gt;&lt;/i&gt; ::= The minimum number of buffer-lines to allocate in the input buffer of the output threadpool that services this output section.&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;workers, writers, w&lt;/b&gt;&lt;/i&gt; ::= The minimum number of threads to define in the output threadpool that services this output section.&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;type, t&lt;/b&gt;&lt;/i&gt; ::= Type of output defined by this section.  One of " &lt;i&gt;file&lt;/i&gt; ", " &lt;i&gt;mysql&lt;/i&gt; " or " &lt;i&gt;dbi&lt;/i&gt; ".&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;type, t&lt;/b&gt;&lt;/i&gt; ::= Type of output defined by this section.  One of " &lt;i&gt;file&lt;/i&gt; ", " &lt;i&gt;mysql&lt;/i&gt; " or " &lt;i&gt;dbi&lt;/i&gt; ".&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;template&lt;/b&gt;&lt;/i&gt; ::= Defines an SQL template. The parameter to this option is a " &lt;i&gt;&amp;lt;template-id&amp;gt; [=] &amp;lt;template-string&amp;gt;&lt;/i&gt; " pair. where &lt;i&gt;&amp;lt;template-id&amp;gt;&lt;/i&gt; is a positive integer and &lt;i&gt;&amp;lt;template-string&amp;gt;&lt;/i&gt; is an unquoted format string that substitutes "&lt;i&gt;$&lt;/i&gt;+&lt;i&gt;sql_id&lt;/i&gt;" placeholders for  variable values (where &lt;i&gt;sql_id&lt;/i&gt; is a positive integer):
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 40px;"&gt;
     &lt;span style="color: #8f0000;"&gt;template = 1 = insert into jobs (jobid, user, myhost) values ('$1', '$56', '$88')&lt;/span&gt;&lt;br/&gt;
     &lt;span style="color: #8f0000;"&gt;template  12 insert into otherjobs (clusterid, clusternode, jobid) values ('$4', '$5', '$1')&lt;/span&gt;  --&amp;gt; equal signs are optional and have been omitted in this example
-    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
     &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines a dedicated error file for this output. If not defined the global error file is used.  (Parsing errors always go to the global error file.)&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines a dedicated logfile for this output. If not defined and boolean logging variable(s) are enabled, the global logfile is used.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
@@ -102,7 +113,8 @@
     The following output option(s) are available only when CAP_SYSLOG is compiled into the binary:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
         &lt;i&gt;&lt;b&gt;syslog, s&lt;/b&gt;&lt;/i&gt; ::= A boolean keyword that enables or disables logging of syslog traffic to this database. Default: Disabled.&lt;br/&gt;
-    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
-    &lt;a href="#top"&gt;Return to top&lt;/a&gt;
-    &lt;/p&gt;
+    &lt;p&gt;&lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
+    &lt;a href="#top"&gt;Return to top&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;
+&lt;a href="../Home"&gt;Return to Home page&lt;/a&gt;
+        &lt;/p&gt;
 
&lt;/i&gt;&lt;/i&gt;&lt;/pre&gt;&lt;i&gt;&lt;i&gt;
&lt;/i&gt;&lt;/i&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ed Freesmeyer</dc:creator><pubDate>Sat, 02 Jan 2021 00:00:44 -0000</pubDate><guid>https://sourceforge.nete02c3e386c3592bf4e397fe5890443c47d558730</guid></item><item><title>CommandReference modified by Ed Freesmeyer</title><link>https://sourceforge.net/p/dbd2/wiki/CommandReference/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -21,34 +21,36 @@
     &lt;p&gt;&lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
     &lt;i&gt;&lt;b&gt;defaults&lt;/b&gt;&lt;/i&gt; ::= Set global default values. (Over-rides corresponding compiled-in values)&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;SpoolDir&lt;/b&gt;&lt;/i&gt; ::= Not yet implemented or used.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;ConfigDir&lt;/b&gt;&lt;/i&gt; ::= Location of the cache-file if cache-file is given as a relative filename.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;CacheFile&lt;/b&gt;&lt;/i&gt; ::= User-supplied name-cache file for use in building envelope-variables and resolving incoming IP-Addresses to hostnames.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;Readers&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;Workers&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;Writers, OutputWriters, OutputWorkers&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;lines&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;OutputLines&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;Connections&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;MaxFileSize, mfs&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;MaxInputFields, InputFieldCount&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;MsgStructCount, GlobalMsgCount&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;HostName&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;DomainName, Domain&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;TemplateKeyNames, Templatenames&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
     &lt;i&gt;&lt;b&gt;input, socket&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;ConnectionSpec&amp;gt; that defines an IP or Linux socket for data input. (Currently only TCP or Streaming Linux sockets are supported.)&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;pipe&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt; A &amp;lt;ConnectionSpec&amp;gt; that defines a Named-Pipe for data input. (Not yet implemented)
+    &lt;i&gt;&lt;b&gt;pipe&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;ConnectionSpec&amp;gt; that defines a Named-Pipe for data input. (Not yet implemented)&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::= Enable Global boolean values.&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::= Disable Global boolean values.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
     &lt;i&gt;&lt;b&gt;IPv4, 4&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;IPv6, 6&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;log, l&lt;/b&gt;&lt;/i&gt; ::= Default: Disabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;dns, d&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;inet, i&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;cache, c&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;syslog, s&lt;/b&gt;&lt;/i&gt; ::= Default: Disabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;queue, q&lt;/b&gt;&lt;/i&gt; ::= Default: Disabled&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;interfacequery, query&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;log, l&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will log all incoming messages to either output-specific or global log file.  Default: Disabled.  Log output is of the form:&lt;br/&gt; &lt;span style="color: #8f0000;"&gt;Template &amp;lt;template-string&amp;gt; "&amp;lt;raw input&amp;gt;" ==&amp;gt; "&amp;lt;processed-output&amp;gt;"&lt;/span&gt;&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;dns, d&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will use DNS queries if the name-cache is disabled or when name-cache queries fail. Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;inet, i&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will allow IP input and output connections. Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;cache, c&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will use it's internal name-cache information to resolve IP addresses and to create envelope-variables. If no cache-file is provided (or an incomplete one), and if DNS is enabled, DNS responses will be added to the name-cache. Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;syslog, s&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will accept and act on syslog input when received if otherwise configured. Default: Disabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;queue, q&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will utilize alternate queueing algorithms and will wait for a queue slot to become available whenever a queue is full.  The default action is to discard messages when queueing to a full queue.  Default: Disabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;interfacequery, query&lt;/b&gt;&lt;/i&gt; ::= &lt;i&gt;DBD2&lt;/i&gt; will query local network interfaces and use the results to validate input IP-Addresses. Default: Enabled&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
     &lt;i&gt;&lt;b&gt;timestring&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;selfaddress, self&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
&lt;/p&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ed Freesmeyer</dc:creator><pubDate>Fri, 01 Jan 2021 09:18:04 -0000</pubDate><guid>https://sourceforge.neta71b342eab4e661ae9252bfe189c0af5abf71f87</guid></item><item><title>CommandReference modified by Ed Freesmeyer</title><link>https://sourceforge.net/p/dbd2/wiki/CommandReference/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -19,18 +19,44 @@
     &lt;a href="#top"&gt;Return to top&lt;/a&gt;&lt;br/&gt;
         The following global options are always available:
     &lt;p&gt;&lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
-    &lt;i&gt;&lt;b&gt;defaults&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;input, socket&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;pipe&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;defaults&lt;/b&gt;&lt;/i&gt; ::= Set global default values. (Over-rides corresponding compiled-in values)&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
+    &lt;i&gt;&lt;b&gt;input, socket&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;ConnectionSpec&amp;gt; that defines an IP or Linux socket for data input. (Currently only TCP or Streaming Linux sockets are supported.)&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;pipe&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt; A &amp;lt;ConnectionSpec&amp;gt; that defines a Named-Pipe for data input. (Not yet implemented)
+    &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::= Enable Global boolean values.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::= Disable Global boolean values.&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+    &lt;i&gt;&lt;b&gt;IPv4, 4&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;IPv6, 6&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;log, l&lt;/b&gt;&lt;/i&gt; ::= Default: Disabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;dns, d&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;inet, i&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;cache, c&lt;/b&gt;&lt;/i&gt; ::= Default: Enabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;syslog, s&lt;/b&gt;&lt;/i&gt; ::= Default: Disabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;queue, q&lt;/b&gt;&lt;/i&gt; ::= Default: Disabled&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;interfacequery, query&lt;/b&gt;&lt;/i&gt; ::= &lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
     &lt;i&gt;&lt;b&gt;timestring&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;selfaddress, self&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;threads&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;var&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
     &lt;i&gt;&lt;b&gt;$&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-    &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines the global error file.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines the global log file.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
     The following global options are available only when CAP_SYSLOG is compiled into the binary:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
@@ -43,18 +69,25 @@
     &lt;a href="#top"&gt;Return to top&lt;/a&gt;
         The following output options are always available:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
-        &lt;i&gt;&lt;b&gt;destid, i&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;destid, i&lt;/b&gt;&lt;/i&gt; ::= A single (non-case-sensitive) letter to identify this output section in &lt;a href="../TermsConcepts#TemplateString"&gt;template-strings&lt;/a&gt;.&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;description, desc&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;file&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;threadpoolid, id, p&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;lines&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;workers, writers, w&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;type, t&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;template&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
-        &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+        &lt;i&gt;&lt;b&gt;logfile, log, l&lt;/b&gt;&lt;/i&gt; ::= A boolean keyword to enable logging of dbcl (non-syslog) data to this database.&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
+        &lt;i&gt;&lt;b&gt;file&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;FileSpec&amp;gt; that defines the primary output file of this threadpool. (Only valid for output-destinations of type " &lt;i&gt;file&lt;/i&gt; ").&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;threadpoolid, id, p&lt;/b&gt;&lt;/i&gt; ::= The identifier of the output threadpool that services this output section.&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;lines&lt;/b&gt;&lt;/i&gt; ::= The minimum number of buffer-lines to allocate in the input buffer of the output threadpool that services this output section.&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;workers, writers, w&lt;/b&gt;&lt;/i&gt; ::= The minimum number of threads to define in the output threadpool that services this output section.&lt;br/&gt;
+    &lt;i&gt;&lt;b&gt;type, t&lt;/b&gt;&lt;/i&gt; ::= Type of output defined by this section.  One of " &lt;i&gt;file&lt;/i&gt; ", " &lt;i&gt;mysql&lt;/i&gt; " or " &lt;i&gt;dbi&lt;/i&gt; ".&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;template&lt;/b&gt;&lt;/i&gt; ::= Defines an SQL template. The parameter to this option is a " &lt;i&gt;&amp;lt;template-id&amp;gt; [=] &amp;lt;template-string&amp;gt;&lt;/i&gt; " pair. where &lt;i&gt;&amp;lt;template-id&amp;gt;&lt;/i&gt; is a positive integer and &lt;i&gt;&amp;lt;template-string&amp;gt;&lt;/i&gt; is an unquoted format string that substitutes "&lt;i&gt;$&lt;/i&gt;+&lt;i&gt;sql_id&lt;/i&gt;" placeholders for  variable values (where &lt;i&gt;sql_id&lt;/i&gt; is a positive integer):
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+    &lt;span style="color: #8f0000;"&gt;template = 1 = insert into jobs (jobid, user, myhost) values ('$1', '$56', '$88')&lt;/span&gt;&lt;br/&gt;
+    &lt;span style="color: #8f0000;"&gt;template  12 insert into otherjobs (clusterid, clusternode, jobid) values ('$4', '$5', '$1')&lt;/span&gt;  --&amp;gt; equal signs are optional and have been omitted in this example
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
+    &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines a dedicated error file for this output. If not defined the global error file is used.  (Parsing errors always go to the global error file.)&lt;br/&gt;
+        &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::= A &amp;lt;LogSpec&amp;gt; that defines a dedicated logfile for this output. If not defined and boolean logging variable(s) are enabled, the global logfile is used.&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
     The following output options are available only when either CAP_MYSQL or CAP_DBI is compiled into the binary:
     &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
@@ -64,6 +97,10 @@
         &lt;i&gt;&lt;b&gt;password, dbpass, pass, pwd, W&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
         &lt;i&gt;&lt;b&gt;connections&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
     &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
+    The following output option(s) are available only when CAP_SYSLOG is compiled into the binary:
+    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
+        &lt;i&gt;&lt;b&gt;syslog, s&lt;/b&gt;&lt;/i&gt; ::= A boolean keyword that enables or disables logging of syslog traffic to this database. Default: Disabled.&lt;br/&gt;
+    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
     &lt;a href="#top"&gt;Return to top&lt;/a&gt;
     &lt;/p&gt;
 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ed Freesmeyer</dc:creator><pubDate>Fri, 01 Jan 2021 08:13:33 -0000</pubDate><guid>https://sourceforge.net7df5c4f6dee9a2b31eaf63cd175a349a1db403f4</guid></item><item><title>CommandReference modified by Ed Freesmeyer</title><link>https://sourceforge.net/p/dbd2/wiki/CommandReference/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="../Home" id="top"&gt;Return to Home page&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="contents"&gt;Contents&lt;/h2&gt;
&lt;div style="font-family: arial; line-height: 20px; color: #00008f; background: none;"&gt;
&lt;table&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href="#GlobalCommands"&gt;Global Commands&lt;/a&gt;&lt;/td&gt;
        &lt;/tr&gt;&lt;tr&gt;
            &lt;td&gt;&lt;a href="#OutputCommands"&gt;Output Commands&lt;/a&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
&lt;a href="#top"&gt;Return to top&lt;/a&gt;
&lt;/p&gt;
&lt;h2 style="color: black;"&gt;Global Commands&lt;/h2&gt;&lt;a id="GlobalCommands"&gt;&lt;/a&gt;
&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 0px;"&gt;
    &lt;a href="#top"&gt;Return to top&lt;/a&gt;&lt;br/&gt;
        The following global options are always available:
    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
    &lt;i&gt;&lt;b&gt;defaults&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;input, socket&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;pipe&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;timestring&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;selfaddress, self&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;threads&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;var&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;$&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
    The following global options are available only when CAP_SYSLOG is compiled into the binary:
    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
    &lt;i&gt;&lt;b&gt;&amp;lt;Syslog-style selector-string&amp;gt;&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
    &lt;a href="#top"&gt;Return to top&lt;/a&gt;
    &lt;/p&gt;
&lt;h2 style="color: black;"&gt;Output Commands&lt;/h2&gt;&lt;a id="OutputCommands"&gt;&lt;/a&gt;
    &lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
    &lt;a href="#top"&gt;Return to top&lt;/a&gt;
        The following output options are always available:
    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
        &lt;i&gt;&lt;b&gt;destid, i&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;description, desc&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;enable&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;disable, suppress, no&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;file&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;threadpoolid, id, p&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;lines&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;workers, writers, w&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;type, t&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;template&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;stderr, E&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;logfile, L&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
    The following output options are available only when either CAP_MYSQL or CAP_DBI is compiled into the binary:
    &lt;/p&gt;&lt;p style="margin: 0px 0px 0px 10px; padding: 0px 20px;"&gt;
        &lt;i&gt;&lt;b&gt;host&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;database, dbname, name, N&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;username, dbuser, user, U&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;password, dbpass, pass, pwd, W&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
        &lt;i&gt;&lt;b&gt;connections&lt;/b&gt;&lt;/i&gt; ::=&lt;br/&gt;
    &lt;/p&gt;&lt;p style="margin: 10px 0px 0px 10px; padding: 0px 0px;"&gt;
    &lt;a href="#top"&gt;Return to top&lt;/a&gt;
    &lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ed Freesmeyer</dc:creator><pubDate>Fri, 01 Jan 2021 04:35:28 -0000</pubDate><guid>https://sourceforge.netbfc013d88d8bc99ad70e3f5c4fe783126a02ec9a</guid></item></channel></rss>