2019-08-20 Fred Gleason <fredg@paravelsystems.com>

* Added a 'DROPBOXES.LOG_TO_SYSLOG' field to the database.
	* Incremented the database version to 309.
	* Added a 'Log Events in Syslog' checkbox to the
	'Dropbox Configuration' dialog in rdadmin(1).
	* Added special name logic to RDApplication to detect when a
	dropbox is being started.
	* Modified the '--log-filename=' switch in rdimport(1) to accept
	both directory and filename components.
	* Removed the '--log-directory=' switch from rdimport(1).
	* Added an 'ID' column to the list of dropbox configurations in the
	'Rivendell Dropbox Configurations; dialog in rdadmin(1).
This commit is contained in:
Fred Gleason
2019-08-20 18:50:56 -04:00
parent 00a18ca23b
commit b9722a3be7
26 changed files with 526 additions and 429 deletions

View File

@@ -222,21 +222,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--log-directory=</option><replaceable>directory</replaceable>
</term>
<listitem>
<para>
The <replaceable>directory</replaceable> to write logs to.
Overrides the <userinput>[Logs]</userinput> section of
<command>rd.conf</command><manvolnum>5</manvolnum>.
The <option>--log-filename</option> option must also be specified.
This option is mutually exclusive with the <option>--log-syslog</option> option.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--log-filename=</option><replaceable>filename</replaceable>
@@ -244,52 +229,15 @@
<listitem>
<para>
The <replaceable>filename</replaceable> to write logs to.
Overrides the <userinput>[Logs]</userinput> section of
<command>rd.conf</command><manvolnum>5</manvolnum>.
The <option>--log-directory</option> option must also be specified.
This option is mutually exclusive with the <option>--log-syslog</option> option.
This option is mutually exclusive with the
<option>--log-syslog</option> option.
</para>
<para>
The following wildcards can be used can be used in <replaceable>filename</replaceable>:
Rivendell &quot;Filepath&quot; wildcards can be used in
<replaceable>filename</replaceable>. See the
<command>rivendell-wildcards</command><manvolnum>7</manvolnum>
man page for details.
</para>
<variablelist>
<varlistentry>
<term><userinput>%d</userinput></term>
<listitem>
<para>The day of the month (01 - 31)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><userinput>%h</userinput></term>
<listitem>
<para>The hour (00 - 23)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><userinput>%M</userinput></term>
<listitem>
<para>The month (01 - 12)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><userinput>%n</userinput></term>
<listitem>
<para>The name of the originating module --e.g. 'rdairplay', 'caed'.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><userinput>%s</userinput></term>
<listitem>
<para>The second (00 - 60)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><userinput>%Y</userinput></term>
<listitem>
<para>The four digit year</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -1684,6 +1684,19 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<computeroutput>Log events in Syslog</computeroutput>
</term>
<listitem>
<para>
If ticked, log messages for this dropbox will be sent to
the system syslog. Otherwise, these events will be sent to
the file specified by the
<computeroutput>Log File:</computeroutput> setting below.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<computeroutput>Log File:</computeroutput>

View File

@@ -24,6 +24,7 @@ METADATA_PATTERN varchar(64)
STARTDATE_OFFSET int(11)
ENDDATE_OFFSET int(11)
FIX_BROKEN_FORMATS enum('N','Y')
LOG_TO_SYSLOG enum('N','Y')
LOG_PATH varchar(191)
IMPORT_CREATE_DATES enum('N','Y')
CREATE_STARTDATE_OFFSET int(11)