When does Jade clean up these log files?
Having SDS, or RPS enabled means recovery journals will be retained as per setting EnableArchivalRecovery=true. However, for a production system in theory this shouldn't be an issue as you should already have EnableArchivalRecovery=true anyway for production systems, to maximise your recovery options and minimise data loss in the event of a catastrophic failure.
I thought that when SDS had synchrnised that all log files would be marked as used and the log files would be deleted?
Unfortunately this is not the case, although there is a way to get the secondary DBs to remove recovery journals when finished with for replay purposes as per the comment below.
How do I remove these files? jdbutil ?
You can get your secondary DB to remove recovery journals that are no longer required by specifying JournalCloseAction=Remove. Once a recovery journal is no longer required for replay purposes, the secondary will then remove the recovery journal. However, depending on your backup strategy for your secondary DB, you may or may not want this to happen automatically.
For your primary DB, you'll probably want to include steps in your backup strategy for clearing out older recovery journals. A common approach I've seen used previously is to remove anything older than 7 days, but this may not be sufficient if for any reason you have your secondary DB offline from your primary for > 7 days. You may need to implement additional checks using relevant methods on the JadeDatabaseAdmin class to ensure you only remove recovery journals from your primary that are no longer required by any secondary DBs.
You don't need to use jdbutil to remove any recovery journals you identify as no longer required, they can be removed via standard file delete processes.
Hope that helps,
BeeJay.
EDIT 13:32: Don't you just love it when another posting comes in on a thread while you're writing a reply.... especially when you leave it unfinished while you take a lunch break.