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

Add ability to pass system properties/env vars to test resources service #1065

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

melix
Copy link
Collaborator

@melix melix commented Jan 9, 2025

This commit adds 2 configuration properties for the test resources service, making it possible to pass either system properties or environment variables at startup.

This will be useful in order to configure the logging level of the server. For example, one can add:

micronaut {
   testResources {
      serverSystemProperties.put("logger.levels.io.micronaut", "TRACE")
   }
}

This commit adds 2 configuration properties for the test resources service,
making it possible to pass either system properties or environment variables
at startup.

This will be useful in order to configure the logging level of the server.
For example, one can add:

```
micronaut {
   testResources {
      serverSystemProperties.put("logger.levels.io.micronaut", "TRACE")
   }
}
```
@melix melix added the type: enhancement New feature or request label Jan 9, 2025
@melix melix added this to the 4.4.5 milestone Jan 9, 2025
@melix melix requested a review from alvarosanchez January 9, 2025 09:31
@melix melix merged commit a95cbcf into master Jan 10, 2025
8 checks passed
@melix melix deleted the cc/server-properties branch January 10, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants