Topic cluster
Logging and monitoring
Recording and observing events errors state health and performance.
View topic page6 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
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.
etop: Inspect active Erlang processes
Inspect active Erlang processes.
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.
logtail: Print recent lines from a configured log file
Print recent lines from a configured log file.
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.
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.