how to save event logs (in table) across reboots

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    how to save event logs (in table) across reboots

    Help needed in how to save event Logs across reboots. I have eventlogs are saved in database table, after I reboot the board, I lost all previous logs, again event log table contains new logs only, I need to save previous logs across logs, save it and access those logs in same table of new table, how to do?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Can't you just seek to the end of the log table and append your new stuff?

    I have usually seen this implemented as a circular list so that the size of the log table is fixed. It reuses itself thereby not requiring any maintenance.

    Comment

    • tvnaidu
      Contributor
      • Oct 2009
      • 365

      #3
      thanks, I found the last rowid and I am inserting now, it works.

      Comment

      Working...