From 0f5baa508678fa74a68d56a0726c07b23e184f8a Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Tue, 15 Oct 2024 10:59:27 +0200 Subject: [PATCH] logging: fix the length limit of packages info dbg message Should fix 23:22:51,735 WARNING rsyslogd:message too long (8104) with configured size 8096, begin of message is: anaconda: main: Image packages: fuse3-libs-3.16.2-4.fc41.x86_64 gawk-5.3.0-4.fc4 [v8.2408.0-2.fc42 try https://www.rsyslog.com/e/2445 ] --- anaconda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anaconda.py b/anaconda.py index b54726119be..821690d5a0c 100755 --- a/anaconda.py +++ b/anaconda.py @@ -241,7 +241,7 @@ def setup_environment(): log.info("%s %s", sys.argv[0], util.get_anaconda_version_string(build_time_version=True)) # Do not exceed default 8K limit on message length in rsyslog - for log_line in util.get_image_packages_info(max_string_chars=8096-100): + for log_line in util.get_image_packages_info(max_string_chars=8096-120): log.debug("Image packages: %s", log_line) if opts.updates_url: