You could have your indexing class keep two static variables with the times of the last full and partial index.
On 3/7/07, DECAFFMEYER MATHIEU <[EMAIL PROTECTED]> wrote:
Hi, My application allows to index a web application, and I want to show on a jsp the last time the specified web applciation has been indexed, like : 8 March 12 PM 32 - Full index 7 March 15 PM 46 - Partial index etc. So I need to get the X first lines I store. I don't know if it is a good idea to use log4j for this, Unfortunately there is no appender that roll the file after X lines. Thank u for any suggestions. __________________________________ Matt ============================================ Internet communications are not secure and therefore Fortis Banque Luxembourg S.A. does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Nothing in the message is capable or intended to create any legally binding obligations on either party and it is not intended to provide legal advice. ============================================ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]