Minor problem, but according to the Log component documentation at
http://camel.apache.org/log.html there is a level option:

level   INFO    String   Logging level to use. Possible values: FATAL, ERROR,
WARN, INFO, DEBUG, TRACE, OFF

Using FATAL gives:

Caused by: java.lang.IllegalArgumentException: No enum const class
org.apache.camel.LoggingLevel.FATAL
        at java.lang.Enum.valueOf(Enum.java:196)[:1.6.0_33]
        at
org.apache.camel.LoggingLevel.valueOf(LoggingLevel.java:26)[164:org.apache.camel.camel-core:2.9.0.fuse-70-084]
        at
org.apache.camel.component.log.LogComponent.getLoggingLevel(LogComponent.java:70)[164:org.apache.camel.camel-core:2.9.0.fuse-70-084]
        at
org.apache.camel.component.log.LogComponent.createEndpoint(LogComponent.java:40)[164:org.apache.camel.camel-core:2.9.0.fuse-70-084]
        at
org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)[164:org.apache.camel.camel-core:2.9.0.fuse-70-084]
        at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:446)[164:org.apache.camel.camel-core:2.9.0.fuse-70-084]
        ... 57 more

checking org.apache.camel.LoggingLevel confirmed there was no FATAL, so
either docs or code are wrong.

What is the process to submit a fix for this, do I just put a JIRA in?



--
View this message in context: 
http://camel.465427.n5.nabble.com/FATAL-level-on-Log-Component-tp5718731.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to