게시글
질문&답변
2024.01.21
leafy 애플리케이션 구성 강의중 db 문제
2024-01-21 13:29:43.037 GMT [1] LOG: redirecting log output to logging collector process 2024-01-21 13:29:43.037 GMT [1] HINT: Future log output will appear in directory "pg_log".저도 여기서 멈춘줄 알았는데 postgresql 같은 경우 로깅 디렉토리가 설정되어 있어 출력이 되지 않는 것 같습니다?!> docker exec -it leafy-postgres tail -50f /var/lib/postgresql/data/pg_log/postgresql-Sun.log 2024-01-21 13:29:42.549 GMT [49] LOG: starting PostgreSQL 13.13 (Debian 13.13-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit 2024-01-21 13:29:42.552 GMT [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2024-01-21 13:29:42.563 GMT [51] LOG: database system was shut down at 2024-01-21 13:29:42 GMT 2024-01-21 13:29:42.579 GMT [49] LOG: database system is ready to accept connections 2024-01-21 13:29:42.904 GMT [49] LOG: received fast shutdown request 2024-01-21 13:29:42.905 GMT [49] LOG: aborting any active transactions 2024-01-21 13:29:42.911 GMT [49] LOG: background worker "logical replication launcher" (PID 57) exited with exit code 1 2024-01-21 13:29:42.911 GMT [52] LOG: shutting down 2024-01-21 13:29:42.948 GMT [49] LOG: database system is shut down 2024-01-21 13:29:43.037 GMT [1] LOG: starting PostgreSQL 13.13 (Debian 13.13-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit 2024-01-21 13:29:43.037 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2024-01-21 13:29:43.037 GMT [1] LOG: listening on IPv6 address "::", port 5432 2024-01-21 13:29:43.040 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2024-01-21 13:29:43.046 GMT [68] LOG: database system was shut down at 2024-01-21 13:29:42 GMT 2024-01-21 13:29:43.052 GMT [1] LOG: database system is ready to accept connections 2024-01-21 13:54:44.406 GMT [1] LOG: received fast shutdown request 2024-01-21 13:54:44.410 GMT [1] LOG: aborting any active transactions 2024-01-21 13:54:44.416 GMT [1] LOG: background worker "logical replication launcher" (PID 74) exited with exit code 1 2024-01-21 13:54:44.420 GMT [69] LOG: shutting down 2024-01-21 13:54:44.489 GMT [1] LOG: database system is shut down 2024-01-21 13:54:44.990 GMT [1] LOG: starting PostgreSQL 13.13 (Debian 13.13-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit 2024-01-21 13:54:44.990 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2024-01-21 13:54:44.990 GMT [1] LOG: listening on IPv6 address "::", port 5432 2024-01-21 13:54:44.992 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2024-01-21 13:54:44.995 GMT [28] LOG: database system was shut down at 2024-01-21 13:54:44 GMT 2024-01-21 13:54:45.001 GMT [1] LOG: database system is ready to accept connection이런 경우 docker logs 에 출력을 위해선 어떤 설정이 추가적으로 필요할까요?
- 1
- 3
- 555
질문&답변
2020.12.27
Member 조회시 Order 조회관련
뒷 강의에서 해당 문제에 대해서 다루는 것을 들었습니다😀
- 5
- 2
- 222