Add log documentation for sdoc-server and seasearch.

This commit is contained in:
Jizhou Deng 2025-10-28 15:44:29 +08:00
parent c5c9524aa0
commit 8454cd09cf

View File

@ -15,3 +15,25 @@
* seafevents.log: Empty
* seafile-background-tasks.log: logs for background tasks and office file convertion
* seahub_email_sender.log: logs for periodically email sending of background tasks
### Log files for seadoc server
The logs for seadoc server are located under `/opt/seadoc-data/logs`.
* sdoc-access.log: logs for recording each API requests method, URL, response status, and processing time to support access auditing and performance monitoring.
* sdoc-access-slow.log: logs for sdoc-server's slow requests.
* sdoc-server.log: logs for tracking the sdoc-servers periodic background save tasks to verify autosave behavior and service health.
* sdoc-socket.log: logs for tracking real-time collaborative editing operations over the document WebSocket connection to monitor realtime sync performance and diagnose lag.
* sdoc-socket-slow.log: logs for capturing collaborative editing socket operations that exceed the latency threshold to detect realtime performance bottlenecks and diagnose editing lag.
* sdoc_operation_log_clean.log: logs for recording the periodic cleanup task that purges old operation_log records from the database to control log growth and maintain storage health.
* seadoc-converter.log: logs for recording the scheduler activity of the seadoc-converter services operation log cleanup job.
### Log files for seasearch server
The logs for seasearch server are located under `/opt/seasearch-data/log`.
* seasearch.log: logs for recording the SeaSearch service startup and runtime status to confirm the search engine is initialized and ready to serve requests.
* seasearch-access.log: logs for recording incoming HTTP requests to the SeaSearch service to audit search/index queries and detect auth or access issues.