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 Yonghui Chen <ch...@yahoo.com> on 2003/01/21 06:44:57 UTC

How to set different priority to use different log file?

Hi all,

I want to logging DEBUG into debug.log, ERROR into
error.log, how to configure it in log4j.properties?


Thanks.

_________________________________________________________
Do You Yahoo!? 
"款款高贵典雅,快来参加汽车调查"
http://cn.surveys.yahoo.com/gm_campaign_evaluation

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to set different priority to use different log file?

Posted by Neil Pitman <ne...@sympatico.ca>.
That question just came up today:

see:
http://marc.theaimsgroup.com/?l=log4j-user&m=104308976118887&w=2

In fact, check http://marc.theaimsgroup.com/?l=log4j-user before you post.
It has the past mailing list postings.  There's a lot of good information
there.

Neil

----- Original Message -----
From: "Yonghui Chen" <ch...@yahoo.com>
To: <lo...@jakarta.apache.org>
Sent: Tuesday, January 21, 2003 12:44 AM
Subject: How to set different priority to use different log file?


> Hi all,
>
> I want to logging DEBUG into debug.log, ERROR into
> error.log, how to configure it in log4j.properties?
>
>
> Thanks.
>
> _________________________________________________________
> Do You Yahoo!?
> "款款高贵典雅,快来参加汽车调查"
> http://cn.surveys.yahoo.com/gm_campaign_evaluation
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>