Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger fails to initialize #101

Open
yoghurtpower opened this issue Jan 30, 2025 · 0 comments
Open

Logger fails to initialize #101

yoghurtpower opened this issue Jan 30, 2025 · 0 comments

Comments

@yoghurtpower
Copy link

This issue is follow up from Jenkins CI Plugin which is utilizing this project - jenkinsci/azure-vm-agents-plugin#528

https://github.com/sshtools/maverick-synergy/blob/5a240a7e8d8175dde9b45034997f52e4d7a7c887/maverick-logging/src/main/java/com/sshtools/common/logger/DefaultLoggerContext.java#L54C2-L54C33 It looks like if the properties are not set the initialization process will fail leading to further errors down the stream.

Proposal is to set a default value if neither properties are set or to log a proper error indicating that the property must be set.

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

No branches or pull requests

1 participant