Learning logging best practices in the cloud
When we are developing an application in our local environment, it is possible to perform debugging operations in order to gain insight into the contribution of different functions and lines of code to the operation of our application, and thus be able to correct unwanted behaviors or errors in encoding.
However, from the moment we deploy our application in an environment other than our local environment (such as a production environment) and it begins to be used by users, we lose visibility and control, and the task of detecting problems in something becomes much more complex.
The correct implementation of logs in our applications is therefore very important to facilitate the detection of bugs and problems in production environments.
Next, we will review general good practices related to the implementation of logs as a way of reducing the difficulty of troubleshooting tasks, thus helping us to detect errors more effectively.
...