You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Nicko Cadell <ni...@neoworks.com> on 2007/02/12 16:04:53 UTC
RE: Log4Net configuration
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 <ni...@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
>
>