Closed mikeblum closed 4 years ago
Thanks for reporting!
It appears to be a problem with the settings expecting a long
when it really should be a String
. I've issued a fix that should be in the next release, 4.0.2.
If you don't need to change rotation size from 20m
, you could just comment that line and everything should work. 20m
is the default.
You could also work around this by specifying the -Xlog
setting as an additional jvm argument. Comment out all of the dbms.logs.gc.*
settings and add the following to config:
dbms.jvm.additional=-Xlog:gc*,safepoint,age*=trace:file=path/to/gc.log::filecount=7,filesize=20m
replacing the path and other settings to your needs.
Configuring gc logs causes the database to fail to start up properly.
Neo4j Version: 4.0.0 Enterprise Operating System: Ubuntu 18.04 + Docker API: Docker
Steps to reproduce
https://neo4j.com/developer/kb/enabling-gc-logging/
Expected behavior
gc log can be sized and rotated.
Actual behavior
Database fails to startup with the following stack trace: