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

[GR-43070] Add logging facilities to GraalVM features #4669

Open
sdeleuze opened this issue Jun 24, 2022 · 3 comments
Open

[GR-43070] Add logging facilities to GraalVM features #4669

sdeleuze opened this issue Jun 24, 2022 · 3 comments
Assignees
Labels
feature spring spring related issue

Comments

@sdeleuze
Copy link
Collaborator

While developing a org.graalvm.nativeimage.hosted.Feature for Spring Framework, we would like to be able to log easily with at least the capability to differentiate verbose (when --verbose is used) and regular (by default) modes on the standard output displayed during the build.

org.graalvm.compiler.debug.DebugContext seems not a good fit for that (too low level and related to dumps) so we have to use System.out.println which does not allow to only display logs when --verbose is set.

Please add the spring label to this issue.

@sdeleuze
Copy link
Collaborator Author

This issue was discussed with @christianwimmer.

@fniephaus fniephaus added the spring spring related issue label Jun 24, 2022
@fniephaus
Copy link
Member

Would something like TruffleLogger for GraalVM Native Image fit your needs?

@sdeleuze
Copy link
Collaborator Author

I think it would.

@fniephaus fniephaus changed the title Add logging facilities to GraalVM features [GR-43070] Add logging facilities to GraalVM features Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature spring spring related issue
Projects
None yet
Development

No branches or pull requests

4 participants