Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Neo4j and big log files

I try to use n4j in my app, but I have problem with big log files. Are they necessary or is there some way to reduce the number and size of them?

At the moment I see files like:

nioneo_logical.log.v0

nioneo_logical.log.v1

nioneo_logical.log.v2

etc and they are ~26MB each (over 50% of neo4j folder).

like image 788
swch Avatar asked Feb 04 '13 22:02

swch


1 Answers

These files are created whenever the logical logs are rotated.

You can configure rules for them in the server properties file.

See details here: http://docs.neo4j.org/chunked/stable/configuration-logical-logs.html

You can safely remove them (but only the *.v*) if your database is shutdown and in a clean state. Don't remove them while the db is running because they could be needed in case of recovery on a crash.

like image 145
Axel Morgner Avatar answered Oct 20 '22 12:10

Axel Morgner