Developer forum

Forum » CMS - Standard features » Loging of 404 responses

Loging of 404 responses

Lars Larsen
Lars Larsen
Reply

Hi

Does Dynamicweb 9 register 404 responses anywhere? I have checked the table Statv2NotFound but no luck there.


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Lars,
404 responses are not logged (due to performance reasons) but you can implement the custom subscriber to log them. Subscribe to BeforeEndRequest notification and check the
Context.Response.StatusCode = 404 and log what you need.
Regards, Dmitrij

Votes for this answer: 1

 

You must be logged in to post in the forum