Verify Real-Time Log Access and Filtering for Developers
Verify Real-Time Log Access and Filtering for Developers
- Test case designer: name
- Date of creation : 16.07.2025
Update history
- Version 0.2 - 28.07.2025 - One step removed (review documentation)
- Version 0.1 - 02.07.2025 - test case created
Test case description
Verify that developers can access real-time logs from running PrestaShop containers/services in the CSC Pouta environment, filter logs, and that logs are secure and contain required metadata.
Pre-state:
- PrestaShop is running in a Docker container on Ubuntu (CSC Pouta).
- Developer has appropriate access credentials (SSH, Docker group, or web interface).
Test Steps
- Access the Ubuntu server via SSH.
- List running Docker containers and identify the PrestaShop container.
- Use docker logs -f <container_name> to view real-time logs.
- Confirm that log output includes timestamps, severity level, and component/module information.
- Apply filtering (e.g., grep "ERROR" or filter by service/module if supported).
- Optionally, access logs via PrestaShop’s own dashboard under Advanced Parameters > Logs (if enabled)
- Attempt to access logs without proper credentials to verify access is restricted.
- Simulate an error in PrestaShop (e.g., invalid login) and trace the error in the logs.
Expected result
- Developer can access real-time logs from running containers/services.
- Logs include timestamps, severity, and component info.
- Logs can be filtered by service/module or keyword.
- Logs are accessible via CLI (Docker) and/or PrestaShop dashboard.
- Unauthorized access to logs is prevented.
- Developer can trace an error through the logs.
Edited by AH0984