Just a guess:

If you're using SQL Server and you're sorting on the log entry
timestamp, there's a restriction in SQL Server's datetime type which
only has accuracy of one three-hundredth of a second, see the first
paragraph here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref
/ts_da-db_9xut.asp

To fix this, add an autoincrement column to your log table and use it
when sorting.

Dag


-----Original Message-----
From: Chakra [mailto:[EMAIL PROTECTED] 
Sent: 18. januar 2005 15:47
To: [email protected]
Subject: Old question ?


 This may be an old question, but when i use ADONetAppender, i notice
that  the logs recorded in my SQL table ('Logs') are out of step. They
log steps
2,3,1 (instead of 1,2,3).

 Also, Step 4 is not recorded, but gets recorded in the next cycle as
4,2,3,1
 (so the 4 of the earlier cycle seems to have been buffered).

 Should i be closing some thread each time so that it logs all steps of
the  cycle ?

 And why does it record out of sequence (2,3,1) ?

 Regards,

 Chak.





Reply via email to