Skip to content

Conversation

@this-is-varunxyz
Copy link

Fixes #1390

This PR adds a debug log message to the scheduler to confirm when a ServerAlias directive is successfully loaded from the cupsd.conf file.

@zdohnal
Copy link
Member

zdohnal commented Oct 17, 2025

Hi @this-is-varunxyz ,

thank you for the PR!

I will add notes to the review. Personally I wouldn't file a ticket for such cosmetic change (adding a debug message) - the PR with explanation is fine.

}

cupsdAddAlias(ServerAlias, value);
cupsdLogMessage(CUPSD_LOG_DEBUG, "Added ServerAlias %s", value);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please adjust the indentation as described in DEVELOPING.md, and add a dot at the end of the message. Thank you!

@michaelrsweet
Copy link
Member

One minor note here - if the LogLevel isn't set prior to the ServerAlias line, nothing will be logged... ;)

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.

Feature: debug message for loaded ServerAlias directives

3 participants