I have a tool that my team uses for various administration tasks, it handles various remote calls, Active Directory look ups, calls scripts and more to support thousands of machines. I have about a dozen people actively using it, but for geekdom and further development I would like to build in some statistic and usage logging (nothing personal, just to see what is used and how much).
My question, is what would be a good (or even best) way in .NET (C# specifically) to log this information?
My first thought was a TXT file or even a XML file, but I don't know that I really want to load a file of unknown size later down the road over and over. So I thought about SQLite, but I do not want to install .SQlite on each machine, although perhaps I can embed it in the exe (Its run from a share, not an install for most users although I also have a setup package built for it.
I really don't want to use lots of text files, just for the sake of clean folders.
Any suggestions that would meet the following criteria:
- Light weight
- Fast
- No installs on the client
- Stable Hard to corrupt
- Local Database like
I tried to google this, but I wasn't getting anything that really made sense to me, it was probably that I didn't know what I should Google, as this is not a typical usage model for me.