Logging module used in the entire backend. This module provides functions to measure the time of each phase for multiple requests, and it will initialise the python standard library’s module logging with proper settings.
Besides logging debug information, also certain checkpoints are recorded to analyse performance of the server. Belows is the order of execution given:
- Client request received by the server (phase WEB_IN).
- A request from the server to Govi is sent (phase GOVI_OUT). This only happens, when the requested data is not available/expired in the cache.
- Govi response received by the server (phase GOVI_IN).
- Client response is sent from the server (phase WEB_OUT).