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

logging.level.org.apache.camel=DEBUG does not affect integration logs. #3024

Closed
utkarsh-ship-it opened this issue Feb 19, 2022 · 0 comments
Closed

Comments

@utkarsh-ship-it
Copy link

utkarsh-ship-it commented Feb 19, 2022

I'm trying simple example with camel-k where I'm setting this property in log4j.properties and also try passing as a --property. It's not working in either cases. Here is simple gradle build file for to check versions.

However, this is specifically with camel-k. When I run java file using kamel run Example.java

plugins {
java
}

group = "org.example"
version = "1.0-SNAPSHOT"

repositories {
mavenCentral()
}

dependencies {

implementation("org.apache.camel:camel-core:3.12.0")
implementation("org.slf4j:slf4j-api:1.7.36")
implementation("log4j:log4j:1.2.17")
implementation("commons-logging:commons-logging:1.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

}

tasks.getByName("test") {
useJUnitPlatform()
}

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

No branches or pull requests

1 participant