Коммит
2b10ba4f80
|
@ -225,7 +225,8 @@ def run(args):
|
|||
new_log = old_s3_log + '\n' + new_log
|
||||
|
||||
# send log to S3
|
||||
s3_key.set_contents_from_string(new_log)
|
||||
encrypt = configuration.get('core', 'ENCRYPT_S3_LOGS')
|
||||
s3_key.set_contents_from_string(new_log, encrypt_key=encrypt)
|
||||
except:
|
||||
print('Could not send logs to S3.')
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@ defaults = {
|
|||
'security': None,
|
||||
'donot_pickle': False,
|
||||
's3_log_folder': '',
|
||||
'encrypt_s3_logs': False,
|
||||
'dag_concurrency': 16,
|
||||
'max_active_runs_per_dag': 16,
|
||||
'executor': 'SequentialExecutor',
|
||||
|
|
Загрузка…
Ссылка в новой задаче