[thelist] Friday Freebie

Scott Dexter sgd at ti3.com
Fri Oct 6 12:18:29 CDT 2000


<tip type="IIS logging" author="Scott Dexter" email="sgd at thinksafely.org">
Notes on logging with IIS (some through observation, some through
documentation):

* (hopefully this one is obvious) Don't log if you don't have to. You save
CPU, and that makes your site(s) run faster

* Don't use ODBC logging. Though it may seem cool (and manageable), IIS
doesn't maintain a consistent connection (so you lose data), and it logs
every request directly down the db connection, instead...

* Use file logging. IIS allocates 64Kb of file space at a time for the log,
and keeps a 64Kb buffer in memory, so when the buffer fills up, it dumps it
en masse to the file (that already has the space allocated), allocates 64Kb
more, and clears the buffer. Pretty slick

* Use W3C Extended logging, and select only what you need to capture, the
less data you write, the faster it gets done
</tip>

sgd
--
work: http://www.ti3.com/
non: http://thinksafely.org/




More information about the thelist mailing list