xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

log4j.properties in guice-persist.jar #623

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After spending many hours tracking down why my logging configuration was being 
seemingly ignored, I found that the guice-persist.jar contains a 
log4j.properties file.

I assume that this was packaged by mistake.   I have removed it and repackaged 
it for my own purposes, but I believe that it should be removed from your build.

Thanks!

Original issue reported on code.google.com by cw...@cloudsherpas.com on 20 Apr 2011 at 4:01

GoogleCodeExporter commented 9 years ago
I have the same problem! It took me hours to find this issue!!

Original comment by matthew....@gmail.com on 4 May 2011 at 5:05

GoogleCodeExporter commented 9 years ago
fixed in r1589.

Original comment by sberlin on 16 Oct 2011 at 4:30

GoogleCodeExporter commented 9 years ago
Issue 717 has been merged into this issue.

Original comment by mccu...@gmail.com on 27 Jul 2012 at 2:08

GoogleCodeExporter commented 9 years ago
When will there be a Guice release containing this fix, like a 3.0.1? This one 
is somewhat problematic, since it breaks our logging, and "manually 
repackaging" Guice is ... well, not exactly cool ;)

Original comment by oli...@pjnk.de on 30 Aug 2012 at 11:24

GoogleCodeExporter commented 9 years ago
We'll be releasing a 3.1 sometime in the fall/winter.  Definitely in 2012.

I can, in theory, roll a 3.0.1 patch release to address this packaging issue 
(and maybe roll in  the OSGI fix too), in the uber short term, but the hope is 
to get a 3.1 out reasonably soon.  After that, the pace of Guice development 
should pick up a bit more.  

Original comment by cgruber@google.com on 30 Aug 2012 at 10:02

GoogleCodeExporter commented 9 years ago
Thank you for the quick answer. While it would be certainly nice to have a 
3.0.1 we can definitely also wait for the next release. Keep up the good work & 
thanks for Guice!

Original comment by oli...@pjnk.de on 3 Sep 2012 at 12:07

GoogleCodeExporter commented 9 years ago
GRRRRRRRRRRRRRRR!

Original comment by cgustaf...@gmail.com on 6 Oct 2014 at 10:14

GoogleCodeExporter commented 9 years ago
The code.google.com guice project has migrated to GitHub.  This issue site is 
no longer being used.  Please use https://github.com/google/guice/issues/623 
instead.

Original comment by sberlin on 6 Oct 2014 at 10:16

GoogleCodeExporter commented 9 years ago
I didn't see a 3.01 revision, and for some reason we needed the 3.0 jar.  

I ended up writing a maven module that unpacks the jar, excludes the 
log4j.properties, and re-packages a new jar.  Our persistence code then depends 
on the output of this module instead of the problem jar.

Original comment by cgustaf...@gmail.com on 7 Oct 2014 at 9:25