mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-10-08 13:21:24 +00:00
Only write heritrix_dmesg.log when requested Heritrix.java always created heritrix_dmesg.log in $HERITRIX_HOME, even though only the bin/heritrix script reads it, and only when it starts Heritrix in the background. This got in the way of making $HERITRIX_HOME read-only for Docker and systemd setups. The startup log is now written only when the heritrix.dmesg system property gives its path. bin/heritrix sets this property in background mode and keeps the file in the same place as before. Also fix a typo in bin/heritrix ($startmessage) that stopped it removing a heritrix_dmesg.log left over from a previous start. Set -Dheritrix.dmesg in heritrix.cmd too.