Дурацкие советы (но это не точно) по логированию приложений от человека с 20 летним опытом архитектора. В статье разбирается каждый из советов.



A Guide To Application Logging



⚡️Add timestamps to every log output.

⚡️Use a human-readable message.

⚡️Log the source of events.

⚡️Use different log levels.

⚡️Use standardized field names and consistent data types.

⚡️Keep payload data and log messages separately.

⚡️Log data structures in JSON format.

⚡️Provide a standard configuration for all engineers.





Но лучше этих советов придерживаться, если ещё не.