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 Meera Mehta <me...@yahoo.com> on 2006/03/23 05:34:52 UTC

Component Specific Logging(Logger or Filter??)

Hi,

I want Component specific Logs in my Enterprise
application.There are more then 13 different
components.
Is creating Separate Logger for each and every
componenet do have any impact on my application's
performance??
I think i can do the same thing using Filters.
SO which is better option (Logger or Filter)

I am also Using Commons Logging.
Please guide me.

thanks in advance.

Meera



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Component Specific Logging(Logger or Filter??)

Posted by James Stauffer <st...@gmail.com>.
Creating a lot of loggers isn't a problem.  Most people create one
logger per class so they have many more than 13 loggers.

On 3/22/06, Meera Mehta <me...@yahoo.com> wrote:
> Hi,
>
> I want Component specific Logs in my Enterprise
> application.There are more then 13 different
> components.
> Is creating Separate Logger for each and every
> componenet do have any impact on my application's
> performance??
> I think i can do the same thing using Filters.
> SO which is better option (Logger or Filter)
>
> I am also Using Commons Logging.
> Please guide me.
>
> thanks in advance.
>
> Meera
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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