From bd3e1918aaffd21156853b2a15363197440ae53c Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Wed, 1 Nov 2023 01:17:23 -0400 Subject: [PATCH] allnet: further dl report logging --- core/allnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/allnet.py b/core/allnet.py index 6607322..8cd3937 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -339,7 +339,7 @@ class AllnetServlet: self.logger.warning(f"Failed to parse DL Report: Invalid format - {rep.err}") return "NG" - msg = f"{rep.serial} @ {client_ip} reported download state {rep.rf_state} for {rep.gd} v{rep.dav}:"\ + msg = f"{rep.serial} @ {client_ip} reported {rep.__type.name} download state {rep.rf_state} for {rep.gd} v{rep.dav}:"\ f" {rep.tdsc}/{rep.tsc} segments downloaded for working files {rep.wfl} with {rep.dfl if rep.dfl else 'none'} complete." self.data.base.log_event("allnet", "DL_ORDER", logging.INFO, msg, dl_data)