Write the logs in XML format (to make it easier to parse) and then write a program to parse and write to the DB.
On Mon, May 12, 2008 at 12:56 AM, Duseja, Sushil <[EMAIL PROTECTED]> wrote: > Hello, > > > > I have written a custom appender using Axis and log4j. This appender > calls my web service. Following is what happens:- > > > > * If the service is up, it writes the logging statements to one of > the tables in the database. > * If the service is down, it writes the logging statements to a > file on the file system. (This is done so that the log statements are > not missed.) > > > > Now, when the service comes up again, the log statements in the file > (which were meant to go into the database table originally) should be > written back to the database. > > > > Can anyone please let me know as to how to go about it? > > > > Thanks. > > > > Regards, > > Sushil Duseja > > > > > > -- James A. N. 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]