Is it better to log to file or database?

前端 未结 5 1028
醉梦人生
醉梦人生 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 22:53

    I agree with the above with the perhaps obvious exception of logging database failures which would make logging to the database problematic. This has come up for me in the past as I was dealing with infrequent but regular network failovers.

提交回复
热议问题