It's not a problem per se. It's just that the code can seem rather
cluttered at times with checks like:

if(LOG.isDebugEnabled()) {
  LOG.debug("blah" + myVariable + " foo");
}

The guards checks are mainly there because 1) the string concatenation
would always be done regardless of the prevailing log level and 2)
oftentimes markers cannot be used unless an Object is one of the first
markers. The latest version of slf4j removes these restrictions AFAIK.

With slf4j the above log statement becomes:

Log.debug("blah {} foo", myVariable);

Also, per the slf4j home page it states: "Since 1.7.5: Significant
improvement in logger retrieval times. Given the extent of the improvement,
users are highly encouraged to migrate to SLF4J 1.7.5 or later. "

I will create a Jira ticket.

Thanks,
Paul



On Tue, Sep 10, 2013 at 9:35 AM, Dejan Bosanac <de...@nighttale.net> wrote:

> Please log the Jira for it, to track it for the release. Do you experience
> any problems with current slf4j version?
>
> Regards
> --
> Dejan Bosanac
> ----------------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> dbosa...@redhat.com
> Twitter: @dejanb
> Blog: http://sensatic.net
> ActiveMQ in Action: http://www.manning.com/snyder/
>
>
> On Tue, Sep 10, 2013 at 3:26 PM, Paul Gale <paul.n.g...@gmail.com> wrote:
>
> > As part of the 5.9.0 release are there plans to upgrade SLF4J to 1.7.5+?
> > The risk should be low.
> >
> > Thanks,
> > Paul
> >
> >
> > On Tue, Sep 10, 2013 at 9:08 AM, Dejan Bosanac <de...@nighttale.net>
> > wrote:
> >
> > > Hi,
> > >
> > > yes the plan is to release 5.9 soon. We're working on hardening the
> code
> > > and preparing for the release. There's no plan for 5.8.1 release.
> > >
> > > Regards
> > > --
> > > Dejan Bosanac
> > > ----------------------
> > > Red Hat, Inc.
> > > FuseSource is now part of Red Hat
> > > dbosa...@redhat.com
> > > Twitter: @dejanb
> > > Blog: http://sensatic.net
> > > ActiveMQ in Action: http://www.manning.com/snyder/
> > >
> > >
> > > On Tue, Sep 10, 2013 at 9:09 AM, iamactivemquser <ana.cor...@consol.de
> > > >wrote:
> > >
> > > > Hi,
> > > >
> > > > I´ve seen the ActiveMQ roadmap and it seems 5.9.0 will be ready to be
> > > > released before releasing 5.8.1. Will this happen?
> > > >
> > > > I´ve read 5.9.0 will be release in september. This would be nice. I´m
> > > > waiting for a new release :)
> > > >
> > > > Thanks
> > > > Ana
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-8-1-Release-Date-tp4665189p4671328.html
> > > > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> > > >
> > >
> >
>

Reply via email to