PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, October 18, 2022

[FIXED] How to view log files while using Memgraph with Docker?

 October 18, 2022     docker, graph-databases, memgraphdb     No comments   

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:

  1. Execute the command docker ps to find the ID of the container, CONTAINER_ID.
  2. Then, execute the command docker exec -it CONTAINER_ID bash
  3. 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)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing