{"result":{"depiction_url":null,"edges":{"refers":{"objects":[{"created":"2026-10-07T11:13:07Z","object_id":{"id":1640,"is_a":["text","documentation","developerguide"],"name":"doc_developerguide_logging","title":{"_type":"trans","tr":{"en":"Write logs that explain an operation"}},"uri":"https:\/\/zotonic.com\/id\/1640"},"seq":1000000},{"created":"2026-10-07T11:13:07Z","object_id":{"id":3004,"is_a":["text","documentation","developerguide"],"name":"developer_slow_requests","title":{"_type":"trans","tr":{"en":"A page is slow"}},"uri":"https:\/\/zotonic.com\/id\/3004"},"seq":1000000}],"predicate":{"id":2409,"is_a":["meta","predicate"],"name":"refers","title":{"_type":"trans","tr":{"en":"Refers"}},"uri":"https:\/\/zotonic.com\/id\/refers"}},"subject":{"objects":[{"created":"2026-10-07T11:13:29Z","object_id":{"id":2554,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_how_to_guide","title":"How-to guide","uri":"https:\/\/zotonic.com\/id\/2554"},"seq":1},{"created":"2026-10-07T11:13:29Z","object_id":{"id":2564,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_backend_developer","title":"Backend developer","uri":"https:\/\/zotonic.com\/id\/2564"},"seq":2},{"created":"2026-10-07T11:13:29Z","object_id":{"id":2607,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_logging_and_monitoring","title":"Logging and monitoring","uri":"https:\/\/zotonic.com\/id\/2607"},"seq":3},{"created":"2026-10-07T11:13:29Z","object_id":{"id":2670,"is_a":["categorization","keyword","keyword_technology"],"name":"zotonic_topic_erlang_otp","title":"Erlang\/OTP","uri":"https:\/\/zotonic.com\/id\/2670"},"seq":4}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2935,"is_a":["text","documentation","developerguide"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2935"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"developer_logs_processes","page_url":{"en":"https:\/\/zotonic.com\/docs\/2935\/inspect-logs-and-running-processes","x-default":"https:\/\/zotonic.com\/docs\/2935\/inspect-logs-and-running-processes"},"preview_url":null,"resource":{"body":{"_type":"trans","tr":{"en":"<p>Use <code>bin\/zotonic logtail<\/code> for the configured console log, or select <code>error<\/code> or <code>crash<\/code> when those files are available. The command prints the last 500 lines and exits; it does not follow the log continuously.<\/p>\n<p>For live process activity, use <code>bin\/zotonic etop<\/code> if the Erlang installation includes the required tool. Identify the process and time period responsible for repeated activity before changing configuration.<\/p>\n<p>Prefer structured logs containing the operation, result, reason on failure, and a useful resource or site identifier. Avoid logging request bodies or tokens as a shortcut to understanding a problem.<\/p>\n<p>A busy process alone does not identify the slow request. Correlate request timing with template, function, and database traces. See <a href=\"\/id\/1640\">Write logs that explain an operation<\/a> and <a href=\"\/id\/3004\">A page is slow<\/a>.<\/p>"}},"category_id":{"id":317,"is_a":["meta","category"],"name":"developerguide","title":"Developer guide","uri":"https:\/\/zotonic.com\/id\/developerguide"},"content_group_id":{"id":339,"is_a":["meta","content_group"],"name":"default_content_group","title":{"_type":"trans","tr":{"en":"Default Content Group"}},"uri":"https:\/\/zotonic.com\/id\/default_content_group"},"created":"2026-10-07T11:12:56Z","creator_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"doc_editorial_bundle":true,"doc_editorial_edges":{"subject":[2554,2564,2607,2670]},"is_authoritative":true,"is_dependent":false,"is_featured":false,"is_protected":false,"is_published":true,"is_unfindable":false,"language":["en"],"modified":"2026-10-07T11:13:38Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"name":"developer_logs_processes","pivot_geocode":null,"pivot_location_lat":null,"pivot_location_lng":null,"privacy":0,"publication_end":"9999-06-01T00:00:00Z","publication_start":"2026-10-07T11:12:56Z","slug":"inspect-logs-and-running-processes","summary":{"_type":"trans","tr":{"en":"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."}},"title":{"_type":"trans","tr":{"en":"Inspect logs and running processes"}},"title_slug":{"_type":"trans","tr":{"en":"inspect-logs-and-running-processes"}},"tz":"UTC","uri":null,"version":13,"visible_for":0},"uri":"https:\/\/zotonic.com\/id\/2935","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2935"}},"status":"ok"}