R
R
RockRock2018-05-23 18:28:37
Journaling
RockRock, 2018-05-23 18:28:37

How to log requests to the site?

Tell me, maybe someone has a script that logs all requests to the site. That is, to record even attempts to enter a non-existent page mysite.com/?q=blablabla and mysite.com/this-page-doesnt-exist
I did not see this functionality on the hosting.
PS Question from a non-coder.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
m0nym, 2018-05-23
@m0nym

you already have nginx or apache installed.
they log everything.
including non-existent ones.
perhaps you need to enable a deeper level of logging for nginx / apache
, but most likely everything is already there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question