Issue
I am using Memgraph with Docker and I want to access today's log files. What is the easiest way to do that?
Solution
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.
Answered By - MPesi Answer Checked By - Pedro (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.