Skip to content

Conversation

richardTowers
Copy link
Contributor

Previously this logged:

Importing CNAME / A records for #<Host:0x0000ffff70331ba0>
Importing CNAME / A records for #<Host:0x0000ffff70331a60>
Importing CNAME / A records for #<Host:0x0000ffff70331920>

Which is not very useful.

Pull the repeated bit of the message out of the loop, and then just log the hostnames, so we should get:

Importing CNAME / A records for 128 hosts:
foo.bar.com
bar.baz.com
...

Instead

Previously this logged:

    Importing CNAME / A records for #<Host:0x0000ffff70331ba0>
    Importing CNAME / A records for #<Host:0x0000ffff70331a60>
    Importing CNAME / A records for #<Host:0x0000ffff70331920>

Which is not very useful.

Pull the repeated bit of the message out of the loop, and then just log
the hostnames, so we should get:

    Importing CNAME / A records for 128 hosts:
    foo.bar.com
    bar.baz.com
    ...

Instead
@richardTowers richardTowers merged commit c150b0d into main Oct 3, 2025
11 checks passed
@richardTowers richardTowers deleted the log-hostnames branch October 3, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants