Re: [ANNOUNCEMENT] Welcome Ralph Goers as the new Apache Logging Chair

2015-11-20 Thread Gary Gregory
Congratulations Ralph!

Gary

On Fri, Nov 20, 2015 at 7:33 AM, Christian Grobmeier 
wrote:

> Hello all,
>
> I was the chair of the Apache Logging Services project for 3 1/2 years.
> Thank you, it was a great time. But it is time to move on. I think it is
> critical for ASF projects to let the Chair role rotate.
>
> At Logging Services, we agreed to discuss the role each year at the time
> of the ASF members meeting. We did that. We will continue to do that (at
> least that's my hope! :)).
>
> The PMC discussed who could fill the role of the Logging Chair, and
> while we have many great people among us, we unanimously voted for Ralph
> Goers.
>
> Ralph wrote the first versions of what became Log4j 2.0. He wrote large
> parts of it until a fantastic community grew around the project. Without
> him and his hard work, we would still be stuck on Log4j 1.x times when
> things didn't look so bright.
> Ralph is not only an experienced developer but also a great teammate and
> knows the Apache way in and out.
>
> Now I am very happy to say he accepted our vote, and the ASF Board
> confirmed him in his role, effective immediately.
>
> Welcome, Ralph! All the best for your new role, and may the force be
> with you!
>
> Cheers,
> Christian
>
> PS: if you are confused by the terms PMC, Chair or whatever, I'd like to
> invite you to read the blog I posted when I became chair:
> http://www.grobmeier.de/hey-i-became-a-vice-president-07072012.html
>
> Or the official docs:
> http://www.apache.org/foundation/how-it-works.html
>
> -
> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-dev-h...@logging.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: layout optional?

2015-11-10 Thread Gary Gregory
But sometimes it's a little more ;-)

See org.apache.logging.log4j.core.config.DefaultConfiguration.DEFAULT_PATTERN

Gary

On Tue, Nov 10, 2015 at 8:32 AM, Matt Sicker  wrote:

> Usually it's very minimal information like the log message and no metadata.
>
> On 10 November 2015 at 09:53, Gary Gregory  wrote:
>
> > Log4j Appenders usually create a default layout if one is not configured.
> >
> > Gary
> > On Nov 10, 2015 7:22 AM, "Nicholas Duane"  wrote:
> >
> > > From reading the log4j2/log4net docs it appears adding a layout to an
> > > appender is optional.  If I don't add a layout to an appender how does
> > the
> > > appender generate the string for the event?  Does it simply call
> > > toString()/ToString() on the event object?  If that's the case then if
> we
> > > want our event to have a specific format by default then I guess we
> need
> > to
> > > code that in toString()/ToString(), correct?
> > >
> > > Thanks,
> > > Nick
> > >
> >
>
>
>
> --
> Matt Sicker 
>



-- 
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


Re: layout optional?

2015-11-10 Thread Gary Gregory
Log4j Appenders usually create a default layout if one is not configured.

Gary
On Nov 10, 2015 7:22 AM, "Nicholas Duane"  wrote:

> From reading the log4j2/log4net docs it appears adding a layout to an
> appender is optional.  If I don't add a layout to an appender how does the
> appender generate the string for the event?  Does it simply call
> toString()/ToString() on the event object?  If that's the case then if we
> want our event to have a specific format by default then I guess we need to
> code that in toString()/ToString(), correct?
>
> Thanks,
> Nick
>


RE: Why is log4net not more similar to log4j(2)?

2015-09-16 Thread Gary Gregory
Maybe 
helpful:http://codecall.net/2014/03/27/best-tools-to-convert-java-to-c-source-code/
Gary

 Original message 
From: Nicholas Duane  
Date: 09/16/2015  17:58  (GMT-08:00) 
To: Log4J Users List  
Cc: Log4NET User  
Subject: RE: Why is log4net not more similar to log4j(2)? 

I was thinking maybe the sheer number of appenders/filters would make it a lot 
of effort to port the entire list and just porting the core infrastructure and 
maybe one appender just so that you could see something working might 
something, while a large effort, wouldn't be huge.  But I guess you're saying 
it would be a huge effort.

Not sure if there are good java to c# translators and even if there is what 
other hurdles you might run into trying to port via a translator, e.g. platform 
specific code.

I was assuming you could do it in phases.  Maybe the code is somewhat layered 
so that the "core" could be ported without too much difficulty.

Thanks,
Nick

> Date: Wed, 16 Sep 2015 17:19:24 -0700
> Subject: Re: Why is log4net not more similar to log4j(2)?
> From: garydgreg...@gmail.com
> To: log4j-u...@logging.apache.org
> CC: log4net-user@logging.apache.org
> 
> It's not so much that one appender is more code than another. It's all the
> infrastructure underneath it all...
> 
> Gary
> 
> On Wed, Sep 16, 2015 at 5:06 PM, Nicholas Duane  wrote:
> 
> > Not sure.  I was going to ask what a guess on the effort might be.  I
> > wasn't expecting *huge*.  And I guess *huge* is still your guess if we only
> > consider the "core" and maybe a single file appender just as a starting
> > point?
> >
> > Thanks,
> > Nick
> >
> > Date: Wed, 16 Sep 2015 15:49:22 -0700
> > Subject: Re: Why is log4net not more similar to log4j(2)?
> > From: garydgreg...@gmail.com
> > To: log4j-u...@logging.apache.org
> > CC: log4net-user@logging.apache.org
> >
> > Porting Log4j 2 would be a *huge* job. Would you use a translator of some
> > kind?
> > Gary
> > On Wed, Sep 16, 2015 at 3:41 PM, Nicholas Duane  wrote:
> > I was debating offering to help.  Not that I wouldn't be interested, just
> > don't know how much time I could commit.  Also, not sure I would be
> > interested in "patching" log4net.  In my mind the best approach would be to
> > port log4j2.  I would like the two to be very similar, down to the level
> > values, configuration syntax, appenders, filters and extensibility.
> >
> >
> >
> > Thanks,
> >
> > Nick
> >
> >
> >
> > Date: Wed, 16 Sep 2015 15:25:19 -0700
> >
> > Subject: Re: Why is log4net not more similar to log4j(2)?
> >
> > From: garydgreg...@gmail.com
> >
> > To: log4j-u...@logging.apache.org
> >
> > CC: log4net-user@logging.apache.org
> >
> >
> >
> > I think I read somewhere that log4net was a port of log4j 1.
> >
> > "Patches welcome" is my motto :-)
> >
> > Gary
> >
> > On Wed, Sep 16, 2015 at 2:42 PM, Nicholas Duane  wrote:
> >
> > Sending to both the log4j and log4net mailing lists.
> >
> >
> >
> >
> >
> >
> >
> > I'm curious why log4net is not more similar to log4j(2)?  Is it because
> > there is less development work being done on log4net and log4j had
> > significant changes in the 2.0 version?  Any chance log4net might become
> > more of a "port" of log4j(2) and thus be more similar?
> >
> >
> >
> >
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Nick
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> >
> > Java Persistence with Hibernate, Second Edition
> >
> > JUnit in Action, Second Edition
> >
> > Spring Batch in Action
> >
> > Blog: http://garygregory.wordpress.com
> >
> > Home: http://garygregory.com/
> >
> > Tweet! http://twitter.com/GaryGregory
> >
> >
> >
> > --
> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > Java Persistence with Hibernate, Second Edition
> > JUnit in Action, Second Edition
> > Spring Batch in Action
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
> >
> 
> 
> 
> -- 
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> 
> JUnit in Action, Second Edition 
> Spring Batch in Action 
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
      

Re: Why is log4net not more similar to log4j(2)?

2015-09-16 Thread Gary Gregory
It's not so much that one appender is more code than another. It's all the
infrastructure underneath it all...

Gary

On Wed, Sep 16, 2015 at 5:06 PM, Nicholas Duane  wrote:

> Not sure.  I was going to ask what a guess on the effort might be.  I
> wasn't expecting *huge*.  And I guess *huge* is still your guess if we only
> consider the "core" and maybe a single file appender just as a starting
> point?
>
> Thanks,
> Nick
>
> Date: Wed, 16 Sep 2015 15:49:22 -0700
> Subject: Re: Why is log4net not more similar to log4j(2)?
> From: garydgreg...@gmail.com
> To: log4j-u...@logging.apache.org
> CC: log4net-user@logging.apache.org
>
> Porting Log4j 2 would be a *huge* job. Would you use a translator of some
> kind?
> Gary
> On Wed, Sep 16, 2015 at 3:41 PM, Nicholas Duane  wrote:
> I was debating offering to help.  Not that I wouldn't be interested, just
> don't know how much time I could commit.  Also, not sure I would be
> interested in "patching" log4net.  In my mind the best approach would be to
> port log4j2.  I would like the two to be very similar, down to the level
> values, configuration syntax, appenders, filters and extensibility.
>
>
>
> Thanks,
>
> Nick
>
>
>
> Date: Wed, 16 Sep 2015 15:25:19 -0700
>
> Subject: Re: Why is log4net not more similar to log4j(2)?
>
> From: garydgreg...@gmail.com
>
> To: log4j-u...@logging.apache.org
>
> CC: log4net-user@logging.apache.org
>
>
>
> I think I read somewhere that log4net was a port of log4j 1.
>
> "Patches welcome" is my motto :-)
>
> Gary
>
> On Wed, Sep 16, 2015 at 2:42 PM, Nicholas Duane  wrote:
>
> Sending to both the log4j and log4net mailing lists.
>
>
>
>
>
>
>
> I'm curious why log4net is not more similar to log4j(2)?  Is it because
> there is less development work being done on log4net and log4j had
> significant changes in the 2.0 version?  Any chance log4net might become
> more of a "port" of log4j(2) and thus be more similar?
>
>
>
>
>
>
>
> Thanks,
>
>
>
> Nick
>
>
>
>
>
>
>
> --
>
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>
> Java Persistence with Hibernate, Second Edition
>
> JUnit in Action, Second Edition
>
> Spring Batch in Action
>
> Blog: http://garygregory.wordpress.com
>
> Home: http://garygregory.com/
>
> Tweet! http://twitter.com/GaryGregory
>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>



-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: Why is log4net not more similar to log4j(2)?

2015-09-16 Thread Gary Gregory
Porting Log4j 2 would be a *huge* job. Would you use a translator of some
kind?

Gary

On Wed, Sep 16, 2015 at 3:41 PM, Nicholas Duane  wrote:

> I was debating offering to help.  Not that I wouldn't be interested, just
> don't know how much time I could commit.  Also, not sure I would be
> interested in "patching" log4net.  In my mind the best approach would be to
> port log4j2.  I would like the two to be very similar, down to the level
> values, configuration syntax, appenders, filters and extensibility.
>
> Thanks,
> Nick
>
> Date: Wed, 16 Sep 2015 15:25:19 -0700
> Subject: Re: Why is log4net not more similar to log4j(2)?
> From: garydgreg...@gmail.com
> To: log4j-u...@logging.apache.org
> CC: log4net-user@logging.apache.org
>
> I think I read somewhere that log4net was a port of log4j 1.
> "Patches welcome" is my motto :-)
> Gary
> On Wed, Sep 16, 2015 at 2:42 PM, Nicholas Duane  wrote:
> Sending to both the log4j and log4net mailing lists.
>
>
>
> I'm curious why log4net is not more similar to log4j(2)?  Is it because
> there is less development work being done on log4net and log4j had
> significant changes in the 2.0 version?  Any chance log4net might become
> more of a "port" of log4j(2) and thus be more similar?
>
>
>
> Thanks,
>
> Nick
>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>




-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: Why is log4net not more similar to log4j(2)?

2015-09-16 Thread Gary Gregory
I think I read somewhere that log4net was a port of log4j 1.

"Patches welcome" is my motto :-)

Gary

On Wed, Sep 16, 2015 at 2:42 PM, Nicholas Duane  wrote:

> Sending to both the log4j and log4net mailing lists.
>
> I'm curious why log4net is not more similar to log4j(2)?  Is it because
> there is less development work being done on log4net and log4j had
> significant changes in the 2.0 version?  Any chance log4net might become
> more of a "port" of log4j(2) and thus be more similar?
>
> Thanks,
> Nick
>




-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory