troubleshooting Question

vb6 -> and writing audit files

Avatar of sidwelle
sidwelleFlag for United States of America asked on
Visual Basic Classic.NET ProgrammingVisual Basic.NET
10 Comments4 Solutions322 ViewsLast Modified:
I am writing some apps that make extensive use of Audit files and wanted to know what would be considered the best practice.  Currently, we have more that 30+ copies of our app running on one server, some run as apps and some as services.  The method we use for writing audit files is to "Open, Append, Close" for each entry.  I have seen other Audit routines that open the Audit file when the App starts, Append entries during the instance life of the App (could be hours, or months) and then close the Audit file on App close.  I have also seen routines that reserve a couple Kb of space and fill it as necessary.  But this could require a lot of overhead keeping track of where the end of the entries are in the file.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 4 Answers and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros