O
O
Onatskyi2019-11-03 20:11:28
Laravel
Onatskyi, 2019-11-03 20:11:28

How to implement request log in laravel?

Hello!
What is the best way to implement request log in laravel? To be able to see what requests were made to the server. What methods to use and where to stick all the code?
I have only one thought that came to mind, just add a middleware that writes everything to the logs. But perhaps there are better solutions. Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Wells, 2019-11-03
@Alex_Wells

Nginx writes logs, ELK collects them. Come to ELK and have a look.
Implementation via laravel is a bad option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question