Junior — Middle
Kuidas oli teie eelmisel projektil logide haldus rakendatud?
sobes.tech AI
Vastus AI-lt
In my previous project, a centralized logging system was used with standard libraries and external tools:
- Logs in the application were written using a logger (e.g., Log4j, Logback, or the built-in logger, depending on the language).
- Logs were divided by importance levels: DEBUG, INFO, WARN, ERROR.
- For ease of analysis, logs were sent to a centralized storage (e.g., ELK Stack — Elasticsearch, Logstash, Kibana).
- Log rotation and file size limits were used to prevent disk overflow.
- In test automation, logs were collected for each test session, allowing quick identification of failure causes.
This approach ensured transparency and ease of system monitoring, as well as quick response to errors.