Chef Client 18.3.0 on RHEL9 produces only debug output

Hello forum,

we are trying RHEL9 at the moment and therefore installed chef-18.3.0-1.el9.x86-64, however this version seems to default to debug level output. This is what I see during a normal chef run:

[root@server ~]# chef-client -W
Chef Infra Client, version 18.3.0
Patents: Patents | Chef
Infra Phase starting
opening connection to 169.254.169.254:80...
opened
opening connection to 169.254.169.254:80...
opened
opening connection to chef-server:443...
opened
starting SSL for chef-server:443...
SSL established, protocol: TLSv1.2, cipher: ECDHE-RSA-AES128-GCM-SHA256
opening connection to chef-server:443...
opened
starting SSL for chef-server:443...
SSL established, protocol: TLSv1.2, cipher: ECDHE-RSA-AES128-GCM-SHA256
opening connection to chef-server:443...
opened
starting SSL for chef-server:443...
SSL established, protocol: TLSv1.2, cipher: ECDHE-RSA-AES128-GCM-SHA256
Resolving cookbooks for run list: ["cookbook1", "cookbook2"]
opening connection to chef-server:443...
opened
starting SSL for chef-server:443...
SSL established, protocol: TLSv1.2, cipher: ECDHE-RSA-AES128-GCM-SHA256
[...]

This goes on for the entire chef run and cannot be overridden with the "-l" switch or by setting log level in client.rb
I tried with 18.2.7 and this version behaves like normal...
Does anybody now what is going on here and how I can silence v18.3? :smiley:

Thanks!

this was a mistake that was pulled in while debugging an ssl issue. The code was added as puts statements and now has been updated to not show unless debug logging has been turned on. 18.2.7 doesn't have that and the next release coming out hopefully end of next week 18.4.x should have the fix in it.

This is good to know. I had the same issue/question. Thanks for asking this, and thanks for fixing it.