You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Michael Grundvig <mi...@electrotank.com> on 2007/06/26 22:09:08 UTC
Commons Logging in Tapestry
Is there a way to get commons-logging out of tapestry? I just fought with it
yet again the other day. Maybe a move to something like SLF4J? Commons
logging is really frustrating with it's classloader disaster always waiting
in the wings. The most comprehensive set of arguments against it are found
here:
http://www.qos.ch/logging/classloader.jsp
And more details on SLF4J here:
http://www.slf4j.org/
Personally, I prefer SLF4J quite a bit but I'd be happy with pretty much
anything other then commons-logging. Even many of the new Apache projects
are leaving it behind. Thanks!
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Commons Logging in Tapestry
Posted by Ceki Gulcu <ce...@qos.ch>.
Howard Lewis Ship <hlship <at> gmail.com> writes:
>
> I looked at SLF4J earlier; at the time it wasn't thread safe.
> Switching over to it is still a possibility.
Hi Howard,
Good memory. I beleive that the thread safety issues were fixed about 10 months
ago. See also [1].
Please let me know if you need any help in switching.
[1] http://bugzilla.slf4j.org/show_bug.cgi?id=26
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Commons Logging in Tapestry
Posted by Howard Lewis Ship <hl...@gmail.com>.
I looked at SLF4J earlier; at the time it wasn't thread safe.
Switching over to it is still a possibility.
On 6/27/07, Renat Zubairov <re...@gmail.com> wrote:
> Hello,
>
> We also had the same problem but apparently they can be solved without
> changes from the Tapestry side.
>
> You can modify your dependencies in your pom.xml (I assuming you are
> using maven) that tapestry and any tapestry dependency will not
> include commons-logging jars in the WAR file, and include SLF4J
> commons-logging integration to the WAR file as a direct dependency.
>
> It would be off course simpler to have tapestry change its
> dependencies but it's hard to reason about commons-logging to people
> that never had a problems with that.
>
> Renat
>
> On 26/06/07, Michael Grundvig <mi...@electrotank.com> wrote:
> > Is there a way to get commons-logging out of tapestry? I just fought with it
> > yet again the other day. Maybe a move to something like SLF4J? Commons
> > logging is really frustrating with it's classloader disaster always waiting
> > in the wings. The most comprehensive set of arguments against it are found
> > here:
> > http://www.qos.ch/logging/classloader.jsp
> >
> > And more details on SLF4J here:
> > http://www.slf4j.org/
> >
> > Personally, I prefer SLF4J quite a bit but I'd be happy with pretty much
> > anything other then commons-logging. Even many of the new Apache projects
> > are leaving it behind. Thanks!
> >
> > Mike
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
>
> --
> Best regards,
> Renat Zubairov
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Commons Logging in Tapestry
Posted by Renat Zubairov <re...@gmail.com>.
Hello,
We also had the same problem but apparently they can be solved without
changes from the Tapestry side.
You can modify your dependencies in your pom.xml (I assuming you are
using maven) that tapestry and any tapestry dependency will not
include commons-logging jars in the WAR file, and include SLF4J
commons-logging integration to the WAR file as a direct dependency.
It would be off course simpler to have tapestry change its
dependencies but it's hard to reason about commons-logging to people
that never had a problems with that.
Renat
On 26/06/07, Michael Grundvig <mi...@electrotank.com> wrote:
> Is there a way to get commons-logging out of tapestry? I just fought with it
> yet again the other day. Maybe a move to something like SLF4J? Commons
> logging is really frustrating with it's classloader disaster always waiting
> in the wings. The most comprehensive set of arguments against it are found
> here:
> http://www.qos.ch/logging/classloader.jsp
>
> And more details on SLF4J here:
> http://www.slf4j.org/
>
> Personally, I prefer SLF4J quite a bit but I'd be happy with pretty much
> anything other then commons-logging. Even many of the new Apache projects
> are leaving it behind. Thanks!
>
> Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Best regards,
Renat Zubairov
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org