posted 18 years ago
Lars,
Thanks a lot !
1. If AsyncAppender is not used, then how log4J writes log event to the file ? It uses any default buffer or It writes one by one event message in log file, I mean one even message = one I/O ???
2 If we use AsyncAppender and setBufferSize(int size).
And Configure Buffer size in log4j.xml.
If set value in setBufferSize(int size) is less than Buffer size in log4j.xml ???
How both are related and what would be the optimum guidlines ???
(default buffer size is set to 128 events)
3. Also I would like to know the actual / practical way to diffrentiate the FATAL, ERROR,INFO.
Is realy FATAL should be used for Business related error ??
Regards,
Siyaram