Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extending server event log

Status
Not open for further replies.

masterkix

IS-IT--Management
Apr 23, 2002
24
PH
HOw can you set the event log to extend to ninety(90) days or more???

Using MS Windows NT4.0 SP6a
 
Open Event Viewer, select which log you want to change. Then under the Log menu, select Log Settings. Set the Maximum Log Size to some enormous number, then select either "Overwrite Events Older than [set to however many days] Days" or "Do Not Overwrite Events".

Watch your disk space, that's gonna make for a huge log file.
 
A better solution is to port a list of all events in each event log every week into a csv file, Then delete all the entries in the event log. This way you will have log reports for each week and not have to worry about disk space. As the files are in text format, they compress to very small file sizes.

A good way to do this is via a simple batch file using a tool such as DumpEvt or Dumpel to get a list of all log file entries and then set them to delete the event logs when done. You can get the batch file to name each csv file with the date the dump was done for reference purposes.

I am assuming you want the 90 days so that you are able to reference the logs - this option does the same thing and many months of reports can be zipped onto a floppy.

Claudius (What certifications??)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top