Does this work for you now? Is that why we have not hear back from you? ;-)
Gary On Fri, May 8, 2015 at 7:25 PM, Gary Gregory <garydgreg...@gmail.com> wrote: > AFAIK it should work the same On java 7 and 8. You should publish your > whole test including configuration so we can try to reproduce. > > Gary > > > -------- Original message -------- > From: Markward Schubert <markward.schub...@gmail.com> > Date: 05/08/2015 02:52 (GMT-08:00) > To: log4j-user@logging.apache.org > Subject: JDK8 Problem > > Dear Group, > > I have a problem with the JDK Loggin Adapter and JDK 8.0.45. > > In a tiny testprogram I open an HttpURLConnection and download a file. > In order to do some testing, I managed to configure the Adapter as > described here: http://logging.apache.org/log4j/2.x/log4j-jul/index.html > and had a result as expecte. > > Specifically I pass the > -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager word to > the run command of the jar. > > The problem is, that this only worked with some older 7 JDK (7.0.40) I > guess. > When I then moved to a more recent JDK, the JRE Logging does not get > through to my logfile. > In the latter case only the logging from my own code appears in the file. > Not the logging of HttpURLConnection. > > Is there some special precondition for using the JDK Logging Adapter with a > JDK 8.x? > > Regards, > Markward > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory