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

Camel extension is too verbose on default log level #2233

Closed
rsvoboda opened this issue Apr 26, 2019 · 1 comment
Closed

Camel extension is too verbose on default log level #2233

rsvoboda opened this issue Apr 26, 2019 · 1 comment
Milestone

Comments

@rsvoboda
Copy link
Member

14 log entries during the boo, details taken from camel-java quickstart.
Some are duplicates, some could be probably on debug level

io.qua.cam entries from boot sequence

09:54:03,808 INFO  [io.qua.cam.cor.run.sup.RuntimeRegistry] (main) Creating interface org.apache.camel.spi.Language for name simple
09:54:03,808 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Binding language simple with prefix camel.language.simple
09:54:03,853 INFO  [io.qua.cam.cor.run.sup.FastCamelRuntime] (main) No xml routes configured
09:54:03,892 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Binding component timer with prefix camel.component.timer
09:54:03,904 INFO  [io.qua.cam.cor.run.sup.RuntimeRegistry] (main) Creating interface org.apache.camel.spi.Language for name constant
09:54:03,904 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Binding language constant with prefix camel.language.constant
09:54:03,924 INFO  [io.qua.cam.cor.run.sup.RuntimeRegistry] (main) Creating interface org.apache.camel.Component for name log
09:54:03,924 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Binding component log with prefix camel.component.log
09:54:03,962 INFO  [io.qua.cam.cor.run.sup.FastCamelRuntime] (main) Apache Camel 3.0.0-M2 (CamelContext: camel-1) is starting
09:54:03,963 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Apache Camel 3.0.0-M2 (CamelContext: camel-1) is starting
09:54:03,971 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
09:54:03,980 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Route: timer-route-java started and consuming from: timer://keep-alive?period=1s
09:54:03,981 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Total 1 routes, of which 1 are started
09:54:03,982 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Apache Camel 3.0.0-M2 (CamelContext: camel-1) started in 0.019 seconds
@gnodet
Copy link
Contributor

gnodet commented Apr 30, 2019

I'm down to the following:

2019-04-30 15:55:46,523 INFO  [io.qua.dep.QuarkusAugmentor] (main) Beginning quarkus augmentation
2019-04-30 15:55:48,157 INFO  [io.qua.dep.QuarkusAugmentor] (main) Quarkus augmentation completed in 1634ms
2019-04-30 15:55:48,311 INFO  [org.apa.cam.imp.con.FastTypeConverterRegistry] (main) Type converters loaded (core: 183, classpath: 14)
2019-04-30 15:55:48,538 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Apache Camel 3.0.0-M2 (CamelContext: camel-1) is starting
2019-04-30 15:55:48,559 INFO  [org.apa.cam.imp.DefaultManagementStrategy] (main) JMX is disabled
2019-04-30 15:55:48,606 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
2019-04-30 15:55:48,614 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Route: timer-route-java started and consuming from: timer://keep-alive?period=1s
2019-04-30 15:55:48,634 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Total 1 routes, of which 1 are started
2019-04-30 15:55:48,656 INFO  [io.qua.cam.cor.run.sup.FastCamelContext] (main) Apache Camel 3.0.0-M2 (CamelContext: camel-1) started in 0.118 seconds
2019-04-30 15:55:48,676 INFO  [io.quarkus] (main) Quarkus 999-SNAPSHOT started in 2.360s. 
2019-04-30 15:55:48,703 INFO  [io.quarkus] (main) Installed features: [camel-core, cdi]

Those are standard camel logs, so in order to trim them down, we'd better change the log level in the config rather than rewriting those core classes.

n1hility added a commit that referenced this issue Apr 30, 2019
Camel extension is too verbose on default log level, fixes #2233
@gsmet gsmet added this to the 0.15.0 milestone May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants