Skip to content

Conversation

@Saartank
Copy link
Contributor

Fixes #1720: On server startup, prints the full configuration after applying defaults if log level is INFO or higher. On client initialization, prints client-specific configuration when log level is DEBUG.

Copy link
Member

@jhiemstrawisc jhiemstrawisc left a comment

Choose a reason for hiding this comment

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

Minor nitpick about whitespace, but otherwise LGTM! I'll pre-approve, and you can merge after you make the change.

config/config.go Outdated

// PrintClientConfig prints the client config in JSON format to stderr.
func PrintClientConfig() error {

Copy link
Member

Choose a reason for hiding this comment

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

Can you remove this whitespace?

@Saartank Saartank force-pushed the include-defaults-in-debug-config-print branch from 01ab99b to 6412cc4 Compare November 27, 2024 20:48
@Saartank Saartank merged commit 1f190a1 into PelicanPlatform:main Nov 27, 2024
20 checks passed
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.

Config Printout at Server Startup Missing Default Values

2 participants