Hi,
I have few questions related to log4j :
1. If I'm using JDBCAppender for logging messages to database and if there
is problem while logging (Like database is down), can I trap this and use
FileAppender to write to file in that case?
2. What is the performance impact if I'm using all the methods like debug(),
info(), warn() etc. in my program and have set the output level for error
only using configuration file? The method calls (to debug(), info() etc.)
will have any performance issue?
3. If I need to log into database which will be better options?
a) I use JMSAppender and register a component which does database
operation.
b) I use JDBCAppender directly.
Can anybody help me out with his valuable feedbacks on the above issues.
Thanks in advance,
Sanjeev
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]