mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-04-24 23:13:37 +02:00
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:
@@ -300,6 +300,19 @@ void RDDropbox::setFixBrokenFormats(bool state) const
|
||||
}
|
||||
|
||||
|
||||
bool RDDropbox::logToSyslog() const
|
||||
{
|
||||
return RDBool(RDGetSqlValue("DROPBOXES","ID",box_id,"LOG_TO_SYSLOG").
|
||||
toString());
|
||||
}
|
||||
|
||||
|
||||
void RDDropbox::setLogToSyslog(bool state) const
|
||||
{
|
||||
SetRow("LOG_TO_SYSLOG",state);
|
||||
}
|
||||
|
||||
|
||||
QString RDDropbox::logPath() const
|
||||
{
|
||||
return RDGetSqlValue("DROPBOXES","ID",box_id,"LOG_PATH").toString();
|
||||
|
||||
Reference in New Issue
Block a user