Skip to content

Commit

Permalink
Added time stamps for Docker logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
tblock79 committed Sep 23, 2024
1 parent 1fce10a commit c0afc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/process_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def decode_task_json(json_string: Optional[str]) -> Any:
# Print the log out of the module
logger.info("=== MODULE OUTPUT - BEGIN ========================================")
if container.logs() is not None:
logs = container.logs().decode("utf-8")
logs = container.logs(timestamps=True).decode("utf-8")
if not config.mercure.processing_logs.discard_logs:
monitor.send_process_logs(task.id, task_processing.module_name, logs)
logger.info(logs)
Expand Down

0 comments on commit c0afc94

Please sign in to comment.