I am using Memgraph with Docker and I want to access today's log files. What is the easiest way to do that?
Asked
Active
Viewed 60 times
1 Answers
0
To view the log files you first need to enter the Docker container where Memgraph is running. Then follow these steps:
- Execute the command
docker ps
to find the ID of the container, CONTAINER_ID. - Then, execute the command
docker exec -it CONTAINER_ID bash
- Now you can use the command
cat /var/log/memgraph/memgraph_2022-03-03.log
to check today's log file.

MPesi
- 212
- 8