You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Gurdeep Singh <gu...@adobe.com> on 2009/08/18 14:19:39 UTC

Log4J Performance

Hi All,

We are writing an application whose sole purpose is to log incoming requests. Since the volume of requests would be huge, would Log4J be suitable for such an application or there are performance  issues.

Thanks,

Gurdeep

RE: Log4J Performance

Posted by Gurdeep Singh <gu...@adobe.com>.
To keep things simple we do not want to introduce the database in the runtime system. The log data would be later imported into a database and analysed.

-Gurdeep

-----Original Message-----
From: Curt Arnold [mailto:carnold@apache.org] 
Sent: Monday, August 24, 2009 7:42 AM
To: Log4J Users List
Subject: Re: Log4J Performance


On Aug 18, 2009, at 7:19 AM, Gurdeep Singh wrote:

> Hi All,
>
> We are writing an application whose sole purpose is to log incoming  
> requests. Since the volume of requests would be huge, would Log4J be  
> suitable for such an application or there are performance  issues.
>
> Thanks,
>
> Gurdeep

log4j (and logback for that matter) are frameworks for diagnostic  
logging for applications.  Basically, you can add logging statements  
to your code and then configure the conditions under which the  
statements execute and where the messages are stored or transmitted.

Your description really seems like you are looking for a persistence  
or messaging framework?  Are you expecting to query the requests that  
you are logging?  Are you dispatching the requests to different agents?


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: Log4J Performance

Posted by Curt Arnold <ca...@apache.org>.
On Aug 18, 2009, at 7:19 AM, Gurdeep Singh wrote:

> Hi All,
>
> We are writing an application whose sole purpose is to log incoming  
> requests. Since the volume of requests would be huge, would Log4J be  
> suitable for such an application or there are performance  issues.
>
> Thanks,
>
> Gurdeep

log4j (and logback for that matter) are frameworks for diagnostic  
logging for applications.  Basically, you can add logging statements  
to your code and then configure the conditions under which the  
statements execute and where the messages are stored or transmitted.

Your description really seems like you are looking for a persistence  
or messaging framework?  Are you expecting to query the requests that  
you are logging?  Are you dispatching the requests to different agents?


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: Log4J Performance

Posted by Alexander <th...@gmail.com>.
Hi,

As you are writing application from scratch - maybe you should look at
logback <http://logback.qos.ch/>?

2009/8/18 Gurdeep Singh <gu...@adobe.com>

> Hi All,
>
> We are writing an application whose sole purpose is to log incoming
> requests. Since the volume of requests would be huge, would Log4J be
> suitable for such an application or there are performance  issues.
>
> Thanks,
>
> Gurdeep
>



-- 
Regards,
Alexander