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

Archaius 2.x bridge StaticDeploymentContext "Configuration not yet initialized." #386

Open
agentgt opened this issue Feb 1, 2016 · 0 comments
Labels

Comments

@agentgt
Copy link

agentgt commented Feb 1, 2016

It appears there isn't an easy way to avoid the Archaius 2.x to 1.x bridge from printing out the following:

Configuration not yet initialized.  Returning 'null' for environment
Configuration not yet initialized.  Returning 'null' for datacenter
Configuration not yet initialized.  Returning 'null' for appId
Configuration not yet initialized.  Returning 'null' for serverId
Configuration not yet initialized.  Returning 'null' for stack
Configuration not yet initialized.  Returning 'null' for region
Configuration not yet initialized.  Returning 'null' for zone

If you do:

Injector injector = Guice.createInjector(new ArchaiusModule(), new StaticArchaiusBridgeModule());

How do I avoid the System.out.println messages? I would rather it not print out anything (and definitely not use a logger as that is even worse).

Also sort of tangental it would be nice if there was a 2.x label or milestone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants