logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remko Popma <remko.po...@gmail.com>
Subject Re: looking for source
Date Fri, 04 Nov 2016 14:42:31 GMT
Sure. Start in AbstractLogger in the API module: https://github.com/apache/logging-log4j2/blob/master/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java

and at some point you probably also want to look at the concrete subclass Logger in the core
module: https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java

Hope this helps to get you started. 

It may be easier to use an IDE and check out the whole project (https://logging.apache.org/log4j/2.x/source-repository.html).


Enjoy!
Remko

Sent from my iPhone

> On 4 Nov 2016, at 23:29, Nicholas Duane <nickdu@msn.com> wrote:
> 
> I'm not that familiar with java and java conventions, package names, etc.  I'm trying
to find the source for log4j2's implementation of logger.error(String, Throwable);.  Can someone
point me to that?  I was looking around here:
> 
> 
> https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=tree;hb=refs/heads/master
> 
> 
> But couldn't seem to find what I was looking for.
> 
> 
> Thanks,
> 
> Nick

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message