Is it better to log to file or database?

前端 未结 5 1027
醉梦人生
醉梦人生 2021-01-30 22:21

We\'re still using old Classic ASP and want to log whenever a user does something in our application. We\'ll write a generic subroutine to take in the details we want to log.

5条回答
  •  太阳男子
    2021-01-30 23:07

    Should we log this to say a txt file using FileSystemObject or log it to a MSSQL database?

    Another idea is to write the log file in XML and then query it using XPath. I like to think that this is the best of both worlds.

提交回复
热议问题