From 7e92be9a138d56a4af2219c46ac2b5bac716f68e Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Fri, 18 Apr 2025 19:19:39 -0400 Subject: [PATCH] fix api logging Signed-off-by: Vladimir Mandic --- CHANGELOG.md | 7 ++++--- installer.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1e009550..0a25facda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,14 +36,15 @@ - new Nunchaku page - updated HiDream, Quantization, NNCF pages - **Fixes** + - HunyuanVideo-I2V with latest transformers - NNCF with TE-only quant - Quanto with TE/LLM quant - HiDream live preview - SD35 InstantX IP-adapter - - **HunyuanVideo-I2V** with latest transformers - - trace logging - xyz grid restore settings - - extension installer handling of PYTHONPATH + - extension installer handling of PYTHONPATH + - trace logging + - api logging ## Update for 2025-04-12 diff --git a/installer.py b/installer.py index 54beeb26c..a3410752f 100644 --- a/installer.py +++ b/installer.py @@ -1498,7 +1498,7 @@ def add_args(parser): group_log.add_argument('--debug', default=os.environ.get("SD_DEBUG",False), action='store_true', help="Run installer with debug logging, default: %(default)s") group_log.add_argument("--profile", default=os.environ.get("SD_PROFILE", False), action='store_true', help="Run profiler, default: %(default)s") group_log.add_argument('--docs', default=os.environ.get("SD_DOCS", False), action='store_true', help="Mount API docs, default: %(default)s") - group_log.add_argument("--api-log", default=os.environ.get("SD_APILOG", True), action='store_true', help="Log all API requests") + group_log.add_argument("--api-log", default=os.environ.get("SD_APILOG", False), action='store_true', help="Log all API requests") group_nargs = parser.add_argument_group('Other') group_nargs.add_argument('args', type=str, nargs='*')