logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicko Cadell" <ni...@neoworks.com>
Subject RE: Log4Net configuration
Date Mon, 12 Feb 2007 15:04:53 GMT
You can change the display name for the levels in the log4net config
file:

<log4net>
  <level>
    <name value="FATAL" />
    <displayName value="ALERT" />
  </level>

  ...
</log4net>

Specify the name of the existing level and the display name to use in
the appender output.

Cheers,
Nicko

------------
nicko cadell <nicko@neoworks.com>
+44 (0)20 7025 0933
http://www.neoworks.com/
software consultancy.solutions.support 

Neoworks Limited is a company registered in England at 2-3 North Mews,
London, WC1N 2JP with company number 1001737.
 

> -----Original Message-----
> From: Laxmilal Menaria [mailto:lmenaria@hotmail.com] 
> Sent: 30 January 2007 10:24
> To: log4net-user@logging.apache.org
> Subject: Log4Net configuration
> 
> Hi,
> 
> I am using Log4Net for My website. that is good logging tool. 
> I am using rollingfile Appender, with info, debug, warn ans 
> fatel level.. but when use that level the log file have 
> llevels WARN, FATAL, INFO, and DEBUG, I wants instead of 
> these words custom words for that.. so anyone tell me about, 
> is it possible of How ?
> 
> Thanks in Advance,
> Laxmilal Menaria
> 
> _________________________________________________________________
> Latest from the world of gadgets and gizmos 
> http://content.msn.co.in/Technology/Default.htm
> 
> 

Mime
View raw message