cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Where is my neo4j.log in Ubuntu Linux?

In most Neo4j server environments, all logs will be found in NEO4J_HOME/logs. However, when Neo4j is running as a service on a Ubuntu (debian)
Linux environment, usually installed via apt-get install neo4j or similar, the neo4j.log is not present.

To get the contents of this, since neo4j.log just contains STDOUT content, simply look for the neo4j service log contents using journalctl:

neo4j@ubuntu:/var/log/neo4j$ journalctl -u neo4j -b > neo4j.log
neo4j@ubuntu:/var/log/neo4j$ vi neo4j.log

For a complete reference of where logs and other files are located in various environments, please refer to the official documentation:

https://neo4j.com/docs/operations-manual/current/configuration/file-locations/

0 REPLIES 0