-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Unable to use native boot with Loki4jAppender #44016
Comments
loki-logback-appender version is 1.6.0 |
Signed-off-by: Dmytro Nosan <[email protected]>
Generated value: {
"name": "com.github.loki4j.logback.AbstractHttpSender.BasicAuth",
"allPublicConstructors": true,
"queryAllPublicMethods": true,
"allPublicMethods": true
}
the name property should be I've fixed it in main...nosan:spring-boot:44016 This should probably be fixed in version 3.4.x. Meanwhile, you can create your own [
{
"name": "com.github.loki4j.logback.AbstractHttpSender$BasicAuth",
"allPublicConstructors": true,
"queryAllPublicMethods": true,
"allPublicMethods": true
}
]
|
Thanks very much, @nosan. Would you like to turn main...nosan:spring-boot:44016 into a PR? |
…nner class Prior to this commit, the generated name for inner class had a wrong format <package>.<parent>.<child> (canonical name). GraalVM expects $ to separate the parent from the inner class. This commit updates SpringBootJoranConfigurator to generate an appropriate format for a class name. Specifically, an inner class should be separated by a dollar sign, not a dot. See spring-projectsgh-44016 Signed-off-by: Dmytro Nosan <[email protected]>
Prior to this commit, the generated name for inner class had a wrong format <package>.<parent>.<child> (canonical name). GraalVM expects $ to separate the parent from the inner class. This commit updates SpringBootJoranConfigurator to generate an appropriate format for a class name. Specifically, an inner class should be separated by a dollar sign, not a dot. See spring-projectsgh-44016 Signed-off-by: Dmytro Nosan <[email protected]>
Before this commit, the generated name for the inner class had a wrong format <package>.<parent>.<child> (canonical name). GraalVM expects $ to separate the parent from the inner class. This commit updates SpringBootJoranConfigurator to generate an appropriate format for a class name. Specifically, an inner class should be separated by a dollar sign, not a dot. See spring-projectsgh-44016 Signed-off-by: Dmytro Nosan <[email protected]>
Before this commit, the generated name for the inner class had a wrong format <package>.<parent>.<child> (canonical name). GraalVM expects $ to separate the parent from the inner class. This commit updates SpringBootJoranConfigurator to generate an appropriate format for a class name. Specifically, an inner class should be separated by a dollar sign, not a dot. See spring-projectsgh-44016 Signed-off-by: Dmytro Nosan <[email protected]>
Before this commit, the generated name for the inner class had a wrong format <package>.<parent>.<child> (canonical name). GraalVM expects $ to separate the parent from the inner class. This commit updates SpringBootJoranConfigurator to generate an appropriate format for a class name. Specifically, an inner class should be separated by a dollar sign, not a dot. See spring-projectsgh-44016 Signed-off-by: Dmytro Nosan <[email protected]>
Sure, @wilkinsona |
Before this commit, the generated name for the inner class had the wrong format <package>.<parent>.<child> (canonical name). GraalVM expects $ to separate the parent from the inner class. This commit updates SpringBootJoranConfigurator to generate an appropriate format for a class name. Specifically, an inner class should be separated by a dollar sign, not a dot. See spring-projectsgh-44016 Signed-off-by: Dmytro Nosan <[email protected]>
Thanks again! Closing in favor of #44021. |
Thanks a lot |
I found this issue, but in my case the loki endpoint has authentication.
Error:
Stacktrace:
logback-spring.xml:
I tried to add
@RegisterReflection(classes = {Loki4jAppender.class, JavaHttpSender.class, ApacheHttpSender.class})
in a@Configuration
but it didn't workSpring boot version is 3.4.2
The text was updated successfully, but these errors were encountered: