735: Connect Postgres logs to rsyslog container
Test Case #:735 | Test Case Name: Connect Postgres logs to rsyslog container |
System: OpenLMIS | Subsystem: requistion |
Test case designed by: Paulina Borowa | Design Date:16.08.2016 |
Short description: Configure the Postgres container to send log messages to the rsyslog container. From there, the pg logs should be output into a separate file on the volume mount containing all OpenLMIS' log files. Acceptance Criteria: |
|
Pre – conditions: |
Delete all containers docker rm $(docker ps -a -q) docker rm -f $(docker ps -a -q) Check id: docker ps id: 13b4993bba4b
|
Step | Action | Expected system response | Comment |
1 | Run Docker for openlmis-requisiton. Check this comments: docker exec 13b4993bba4b less /var/log/postgres |
| |
2 | Check this comments: docker exec 13b4993bba4b less /var/log/messages |
| |
3 | Check this comments: docker exec 13b4993bba4b ls /var/log/ |
|
OpenLMIS: the global initiative for powerful LMIS software