mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-25 14:50:11 +01:00
2017-11-28 Fred Gleason <fredg@paravelsystems.com>
* Implemented application of the 'Purge Logs' setting when creating logs manually. * Changed the wording of the 'Purge Logs' and 'Purge ELR Data' control in the Edit Service dialog in rdadmin(1). * Added 'RDLog::create()' and 'RDLog::remove()' static methods.
This commit is contained in:
@@ -112,7 +112,7 @@ int RunLogOperation(int argc,char *argv[],const QString &svcname,
|
||||
rdstation_conf,config,svc->name()),
|
||||
RDDateDecode(svc->nameTemplate(),start_date.addDays(1),
|
||||
rdstation_conf,config,svc->name()),
|
||||
&unused_report)) {
|
||||
&unused_report,rduser)) {
|
||||
fprintf(stderr,"rdlogmanager: unable to generate log\n");
|
||||
return 256;
|
||||
}
|
||||
|
||||
@@ -364,7 +364,7 @@ void GenerateLog::createData()
|
||||
RDDateDecode(svc->nameTemplate(),gen_date_edit->date().
|
||||
addDays(1),rdstation_conf,log_config,
|
||||
svc->name()),
|
||||
&unused_report);
|
||||
&unused_report,rduser);
|
||||
log->updateTracks();
|
||||
delete log;
|
||||
delete svc;
|
||||
|
||||
Reference in New Issue
Block a user