Application logs
A log is a record of debug information that can be important in the future to see the performance of your application or to see how your application is doing or even to get some stats. Practically, all known applications produce some kind of log information. For example, by default, all the requests to NGINX are recorded in the /var/log/nginx/error.log and /var/log/nginx/access.log. The first one, error.log, stores any errors generated by your application, for example, PHP exceptions. The second one, access.log, is created by each request that hits your NGINX server.
As an experienced developer, you already know that keeping some logs in your application is very important and you are not alone in this task, you can find a lot of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access