Hi,
 I was looking on the log4j API and wanted help on two questions.

Regarding logging the messages after reading from an XML file :
1. how can we restrict the number of messages we can log and can we format
messages to a new file after some limit to the existing log file or is there
a better way performance wise.

2. Also i want to log different messages to different Appenders. For example
say 3 appenders - console, file and NTEventLog and I wanna log debug and
info to console, info and warning to file and Error and fatal messages to
NTEventLog then how do we organise these things with XML file and also with
source.
Can I get answers to these questions with examples please if possible.I
would really appreciate your help.

Thanking You,
 Yours Sincerely,
Naveen Veluri.
 TGSLC.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to