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

We need some kind of config file strategy for prod vs dev #5

Open
saoj opened this issue Sep 7, 2016 · 1 comment
Open

We need some kind of config file strategy for prod vs dev #5

saoj opened this issue Sep 7, 2016 · 1 comment

Comments

@saoj
Copy link
Collaborator

saoj commented Sep 7, 2016

    public App() {
        this(new H2ConnectionManager());
        register(new LoggingFilter(Logger.getLogger(getClass().getSimpleName()), true));
    }

The H2ConnectionManager should not be hardcoded so we can swap it in production on the fly with a different config file (properties file).

@klutzer
Copy link
Owner

klutzer commented Sep 7, 2016

Good idea.. We have to create different profiles for dev and prod, with its own configurations (we don't want the logging feature in prod environment)

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

No branches or pull requests

2 participants