I did upvote it back to 0. On 27 June 2016 at 19:50, Gary Gregory <[email protected]> wrote:
> I upvoted the question FWIW. > > Gary > > On Mon, Jun 27, 2016 at 5:47 PM, Ralph Goers <[email protected]> > wrote: > >> Actually, it appears the question got down voted. I have no idea why as >> it seems a reasonable question to me. >> >> Ralph >> >> On Jun 27, 2016, at 5:45 PM, Ralph Goers <[email protected]> >> wrote: >> >> So upvote it… >> >> Ralph >> >> On Jun 27, 2016, at 5:36 PM, Matt Sicker <[email protected]> wrote: >> >> And immediately got downvoted for some reason. >> >> On 27 June 2016 at 19:06, Ralph Goers <[email protected]> wrote: >> >>> I also provided an answer that provides more information on why Gary’s >>> answer is correct and why it is so different. >>> >>> Ralph >>> >>> On Jun 27, 2016, at 4:26 PM, Gary Gregory <[email protected]> >>> wrote: >>> >>> On Mon, Jun 27, 2016 at 3:56 PM, Ole Ersoy <[email protected]> wrote: >>> >>>> Any chance that the simplicity level for this could could match SLF4J? >>>> I think that there is a setLevel method on Logger, but it's protected or >>>> private ... >>>> >>>> SLF4J Example: >>>> >>>> http://stackoverflow.com/questions/38064066/configuration-a-logger-programmatically-with-log4j-2 >>> >>> >>> >>> 1. // org.apache.logging.log4j.core.config.Configurator; >>> 2. >>> 3. Configurator.setLevel("com.example.Foo", Level.DEBUG); >>> 4. >>> 5. // You can also set the root logger: >>> 6. Configurator.setRootLevel(Level.DEBUG); >>> >>> >>> I also replied on SO. >>> >>> Gary >>> >>> >>>> >>>> >>>> Cheers, >>>> Ole >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>> >>> >>> -- >>> E-Mail: [email protected] | [email protected] >>> 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 >>> >>> >>> >> >> >> -- >> Matt Sicker <[email protected]> >> >> >> >> > > > -- > E-Mail: [email protected] | [email protected] > 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 > -- Matt Sicker <[email protected]>
