Topic cluster

Logging and monitoring

Recording and observing events errors state health and performance.

View topic page

6 items

The remaining keywords do not make a useful further split. All matching documentation is listed below.

Developer guide

A page is slow

Measure one representative request and identify whether time is spent in the browser, network, or server. Compare an initial request with a repeated request to see the effect of caches.

Developer guide

Inspect logs and running processes

Use bin/zotonic logtail for the configured console log, or select error or crash when those files are available. The command prints the last 500 lines and exits; it does not follow the log continuously.

Developer guide

Trace database queries for your session

Enable module#mod_server_storage if the Development page says it is needed for database tracing. On the Development page, enable Trace all database queries for the current session.

Developer guide

Write logs that explain an operation

Log the operation and its result with structured fields. Include an identifier that helps connect the message to a resource or job, without logging credentials or complete private request data.