[英]Where is the Neo4J log file neo4j.log on AWS EC2 instance?
I'm running Neo4J on an AWS EC2 instance using the Neo4J default AMI instance and I can't find the neo4j.log
file anywhere.我正在使用 Neo4J 默认 AMI 实例在 AWS EC2 实例上运行 Neo4J,但我在任何地方都找不到
neo4j.log
文件。 I have the debug.log
and the security.log
and I could set up the query.log
, which are all in /var/log/neo4j/
folder but there is no neo4j.log
file.我有
debug.log
和security.log
并且可以设置query.log
,它们都在/var/log/neo4j/
文件夹中,但没有neo4j.log
文件。 Where to find it?在哪里可以找到它?
The Neo4j Operations Manual states, in different places: Neo4j 操作手册在不同的地方指出:
"cloud images are based on the standard Neo4j Debian package" , and “云镜像基于标准 Neo4j Debian 包” ,以及
neo4j.log is
Not written for Debian and RPM packages , and neo4j.log is
不是为 Debian 和 RPM 包编写的,并且
"To view the neo4j.log for Debian and RPM, use journalctl --unit=neo4j
" “要查看 Debian 和 RPM 的 neo4j.log,请使用
journalctl --unit=neo4j
”
So, the neo4j.log
data is not written to a text file for Debian (and RPM), but you can still access the equivalent log data via the journalctl
command.因此,
neo4j.log
数据不会写入 Debian(和 RPM)的文本文件,但您仍然可以通过journalctl
命令访问等效的日志数据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.