Log INFO message instead of WARN if no eventEndpoint available

View: New views
4 Messages — Rating Filter:   Alert me  

Log INFO message instead of WARN if no eventEndpoint available

by akuhtz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is it possible that the log of the WARN (see below) is changed into an INFO message if no eventEndpoint is available in SpringCamelContext?

SpringCamelContext, line 107+

if (eventEndpoint != null) {
   eventEndpoint.onApplicationEvent(event);
} else {
   LOG.warn("No spring-event endpoint enabled to handle event: " + event);
}


Thanks
Andi

Re: Log INFO message instead of WARN if no eventEndpoint available

by Claus Ibsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Nov 6, 2009 at 6:06 PM, akuhtz <andreas.kuhtz@...> wrote:

>
> Hi,
>
> Is it possible that the log of the WARN (see below) is changed into an INFO
> message if no eventEndpoint is available in SpringCamelContext?
>
> SpringCamelContext, line 107+
>
> if (eventEndpoint != null) {
>   eventEndpoint.onApplicationEvent(event);
> } else {
>   LOG.warn("No spring-event endpoint enabled to handle event: " + event);
> }
>

Yeah please create a ticket in the JIRA then we can get it fixed.

>
> Thanks
> Andi
> --
> View this message in context: http://old.nabble.com/Log-INFO-message-instead-of-WARN-if-no-eventEndpoint-available-tp26230833p26230833.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>
>



--
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: Log INFO message instead of WARN if no eventEndpoint available

by Claus Ibsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I have fixed it now
https://issues.apache.org/activemq/browse/CAMEL-2147

On Sat, Nov 7, 2009 at 10:59 AM, Claus Ibsen <claus.ibsen@...> wrote:

> On Fri, Nov 6, 2009 at 6:06 PM, akuhtz <andreas.kuhtz@...> wrote:
>>
>> Hi,
>>
>> Is it possible that the log of the WARN (see below) is changed into an INFO
>> message if no eventEndpoint is available in SpringCamelContext?
>>
>> SpringCamelContext, line 107+
>>
>> if (eventEndpoint != null) {
>>   eventEndpoint.onApplicationEvent(event);
>> } else {
>>   LOG.warn("No spring-event endpoint enabled to handle event: " + event);
>> }
>>
>
> Yeah please create a ticket in the JIRA then we can get it fixed.
>
>>
>> Thanks
>> Andi
>> --
>> View this message in context: http://old.nabble.com/Log-INFO-message-instead-of-WARN-if-no-eventEndpoint-available-tp26230833p26230833.html
>> Sent from the Camel Development mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>



--
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: Log INFO message instead of WARN if no eventEndpoint available

by akuhtz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks for the quick fix.
Need professional support or training for Apache Camel? Graphic Design by Hiram and the Nabble Forum configured by James