Logs - XiSZ/bookcars GitHub Wiki
Logging
The system maintains logs for all API requests and errors to provide transparency and assist with debugging, performance monitoring, and troubleshooting.
Log Files
- All Logs: All general API logs are written in the file located at
./api/logs/all.log
: This log focuses on capturing detailed information about the API. - Error Logs: All API errors are logged in the file located at
./api/logs/error.log
: This log focuses on capturing error events that may require immediate attention. It helps in identifying and resolving issues quickly by tracking error codes, stack traces, and relevant request information.