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

Don't queue up log messages when the process isn't running a Quarkus application #14316

Closed
wants to merge 1 commit into from

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Jan 15, 2021

Fixes: #14295

@ghost ghost added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label Jan 15, 2021
} catch (Exception e) {
//ignore, happens on native image build
} catch (ClassNotFoundException e) {
isQuarkusApplication = false;
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we have a better way to know that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't think of any given the fact that this class is loaded very very early...

@geoand geoand marked this pull request as ready for review January 15, 2021 19:49
@geoand
Copy link
Contributor Author

geoand commented Jan 16, 2021

This approach doesn't seem to work - if falls over during testing

@geoand geoand closed this Jan 16, 2021
@ghost ghost added the triage/invalid This doesn't seem right label Jan 16, 2021
@geoand geoand reopened this Jan 16, 2021
@geoand
Copy link
Contributor Author

geoand commented Jan 16, 2021

I added a different approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins triage/invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.OutOfMemoryError: Java heap space - Quarkus 1.10.5.Final
2 participants