473,320 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to save event logs (in table) across reboots

365 100+
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?
Feb 2 '10 #1
2 1610
weaknessforcats
9,208 Expert Mod 8TB
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.
Feb 2 '10 #2
tvnaidu
365 100+
thanks, I found the last rowid and I am inserting now, it works.
Feb 6 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: David Bear | last post by:
I would like to develop some tools to better understand/analyze windows event logs. What I've done is export the event log as a delimited file, then try to use awk or python to parse the info....
0
by: Gnaneshwar Babu | last post by:
Hi I am facing a problem with extracting event logs of win32 to a file. Am using the following code to extract eventlogs to file use Win32::EventLog; $handle=Win32::EventLog->new("System",...
0
by: marfi95 | last post by:
I'm automating a piece of my app to allow my customers to send me a copy of their event logs (for diagnostics) on demand just through the click of a button. I know I can use the...
1
by: marfi95 | last post by:
I'm automating a piece of my app to allow my customers to send me a copy of their event logs (for diagnostics) on demand just through the click of a button. I know I can use the...
2
by: Zytan | last post by:
What's a Window event log? EventLog documentation basically assumes the reader knows what it is. It says the following: http://msdn2.microsoft.com/en-us/library/system.diagnostics.eventlog.aspx...
1
by: =?Utf-8?B?U3RldmVU?= | last post by:
I have a test routine that looks at the Application, System, and Security event logs. I noticed that Vista added a new "type" of error called "Critical". However, VS 2005 doesn't list this new...
0
by: ppardi | last post by:
I'm developing an addin for Word 2007 and I need to determine whether a user saves a Word 2007 document in an older format (97-2003) after a save as is done. The scenario is that the user starts...
1
by: PRR | last post by:
I have a functions (rather events).. which write to event logs every 3 to 5 seconds..There are 5 to 10 functions which do this .. writing to event logs... i m aware of the fact that writing to event...
1
by: tvnaidu | last post by:
I am creating db file (system.db) using sql file using below command, I have syslogServerInfo, where as eventLog tables, syslogServerInfo keep saved across reboots, where as eventLog info not, any...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.