app/models/process/naf/log_archiver.rb in naf-2.0.4 vs app/models/process/naf/log_archiver.rb in naf-2.1.0
- old
+ new
@@ -2,10 +2,10 @@
module Process::Naf
class LogArchiver < ::Process::Naf::Application
NAF_JOBS_LOG_PATH = "#{::Naf::PREFIX_PATH}/#{::Naf.schema_name}/jobs/"
- NAF_RUNNERS_LOG_PATH = "#{::Naf::PREFIX_PATH}/#{::Naf.schema_name}/runners/*/*"
+ NAF_RUNNERS_LOG_PATH = "#{::Naf::PREFIX_PATH}/#{::Naf.schema_name}/runners/"
DATE_REGEX = /\d{8}_\d{6}/
LOG_RETENTION = 1
def work
# Use AWS credentials to access S3