As tested and verified with Neo4j 2.3.0, the
data/graph.db/messages.log, its size and number of rotated archives is governed by the following parameters in the
Maximum number of history files for the internal log.
Threshold for rotation of the internal log.
With the above default parameters one should expect to see no
data/graph.db/messages.log exceed 20MB and we will keep up to 7 archives, namely
If you wish to change the defaults the
conf/neo4j.properties file would need to include the new values for
store.internal_log.rotation_threshold=< # of bytes before the file is rotated>
and then issue a
bin/neo4j restart for the new parameters to take effect.
Prior to 2.3.0 one would need to use the linux built in functionality of